- testing for getcwd on windows
[oweals/gnunet.git] / src / testbed / test_getcwd.c
1 #include "platform.h"
2 #include "gnunet_common.h"
3
4 int main ()
5 {
6   char buf[PATH_MAX];
7   char *out;
8   
9 #ifdef MIGW
10   out = _getcwd (buf, PATH_MAX);
11 #else
12   out = getcwd (buf, PATH_MAX);
13 #endif  /* MIGW */
14   (void) printf ("CWD: %s\n", out);
15   return 0;
16 }