getcwd(3f) bsd man page | unix.com

Man Page: getcwd

Operating Environment: bsd

Section: 3f

GETCWD(3F)																GETCWD(3F)

NAME
getcwd - get pathname of current working directory
SYNOPSIS
integer function getcwd (dirname) character*(*) dirname
DESCRIPTION
The pathname of the default directory for creating and locating files will be returned in dirname. The value of the function will be zero if successful; an error code otherwise.
FILES
/usr/lib/libU77.a
SEE ALSO
chdir(3F), perror(3F)
BUGS
Pathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>. 4.2 Berkeley Distribution May 15, 1985 GETCWD(3F)
Related Man Pages
getwd(3) - redhat
getcwd(2) - suse
getcwd(3) - netbsd
getwd(3) - netbsd
dirname(3c) - sunos
Similar Topics in the Unix Linux Community
getcwd: permission denied error
shell-init: could not get current directory: getcwd: cannot access parent directories
getcwd problem.
Getcwd
Getcwd performance issues