GETCWD(3F)
NAME
getcwd − get the path name of the current working directory
SYNOPSIS
integer function getcwd (dirname)
character∗(∗) dirname
DESCRIPTION
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.
FILES
libF77.a
SEE ALSO
chdir(3F), perror(3F), getwd(3)
BUGS
Path names cannot be longer than MAXPATHLEN as defined in <sys/param.h>.
SunOS 5.0 — Last change: 07 July 1995