blob: e47f0206d82dde45f55e870d2064b3d295a4c097 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#include <stdio.h>
#include <sys/param.h>
#include <stdlib.h>
int main(int argc,char *argv[]) {
char path[MAXPATHLEN+1];
if(!realpath(argv[1],path)) return 1;
puts(path);
return 0;
}
|