.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)getcwd.3f 6.1 (Berkeley) 5/15/85
.TH GETCWD 3F "May 15, 1985"
getcwd \- get pathname of current working directory
.B integer function getcwd (dirname)
The pathname of the default directory for creating and locating files
The value of the function will be zero if successful; an error code otherwise.
.ie \nM /usr/ucb/lib/libU77.a
Pathnames can be no longer than MAXPATHLEN as defined in