getwd(3) getwd(3)NAME getwd - get current working directory pathname SYNOPSIS char *getwd(pathname) char *pathname; DESCRIPTION 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 (see in- tro(2)). DIAGNOSTICS getwd returns zero and places a message in pathname if an error occurs. April, 1990 1