#include #include #include int main(int argc,char *argv[]) { char path[MAXPATHLEN+1]; if(!realpath(argv[1],path)) return 1; puts(path); return 0; }