getcwd - get the path name of the current working directory
integer function getcwd (dirname) character*(*) dirname
The path name of the default directory for creating and locating files is returned in dirname. The value of the function is zero if successful, an error code otherwise.
libfui.a
chdir(3F), perror(3F), getwd(3c)
Path names cannot be longer than MAXPATHLEN as defined in <sys/param.h>.