blob: 979c173d5fc6e6d8724846e6f8018e29cc24ad55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include <stdio.h>
main(int argc, char **argv)
{
char wd[1024], *getcwd(), *getwd();
pthread_init();
printf("getcwd => %s\n", getcwd(wd, 1024));
printf("getwd => %s\n", getwd(wd));
exit(0);
}
|