getwd(3) DG/UX 4.30 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.
LIMITATIONS
The maximum pathname length is limited by the length of the
array pathname.
DIAGNOSTICS
Getwd returns zero and sets errno to an appropriate value if
an error occurs.
Licensed material--property of copyright holder(s) Page 1