#include #include #include #include "test.h" int main(int argc, char **argv) { char wd[MAXPATHLEN], *getcwd(), *getwd(); printf("getcwd => %s\n", getcwd(wd, MAXPATHLEN)); printf("getwd => %s\n", getwd(wd)); SUCCEED; }