mariadb/mit-pthreads/tests/test_cwd.c
bk@work.mysql.com f4c589ff6c Import changeset
2000-07-31 21:29:14 +02:00

11 lines
214 B
C

#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);
}