getcwd(3f)

Name
getcwd - returns pathname of current working directory

Syntax
integer getcwd, err
character*len dirname
external getcwd
err = getcwd ( dirname )

Description
The getcwd function returns the pathname of the default directory (for creating and locating files) to dirname.

Restrictions
Pathnames cannot be longer than MAXPATHLEN (as defined in sys/param.h ).

Return Values
The function returns zero if it is successful; otherwise it returns an error code.

Files
libU77.a

See Also
chdir(3f), perror(3f)