getwd - get current working directory pathname
char *getwd(char *pathname);
getwd copies the absolute pathname of the current working directory to
pathname and returns a pointer to the result.
Maximum pathname length is PATH_MAX characters as defined in <limits.h>.
PATH_MAX is equivalent to MAXPATHLEN as defined in <sys/param.h>.
getwd returns zero and places a message in pathname if an error occurs.
PPPPaaaaggggeeee 1111 [ Back ]