GETWD(3) Library Functions Manual GETWD(3)NAMEgetwd - get current working directory pathnameSYNOPSISchar *getwd(pathname) char *pathname;DESCRIPTIONGetwd copies the absolute pathname of the current working directory to pathname and returns a pointer to the result.LIMITATIONSMaximum pathname length is MAXPATHLEN characters (1024), as defined in <sys/param.h>.DIAGNOSTICSGetwd returns zero and places a message in pathname if an error occurs. 4.2 Berkeley Distribution May 12, 1986 GETWD(3)
| Related Man Pages |
|---|
| getwd(3) - freebsd |
| getwd(3c) - hpux |
| getcwd(3) - osx |
| getwd(3) - osx |
| getwd(3) - posix |