Don't use .Xo/.Xc. Fix date format.
[netbsd-mini2440.git] / regress / lib / libc / ssp / readlink / readlink.c
blobc0ffbebf32823ffafea548732046f2176b416726
1 #include <sys/param.h>
2 #include <stdio.h>
3 #include <unistd.h>
4 #include <stdlib.h>
6 int
7 main(int argc, char *argv[])
9 char b[MAXPATHLEN];
10 size_t len = atoi(argv[1]);
11 (void)readlink("/", b, len);
12 (void)printf("%s\n", b);
13 return 0;