1GETCWD(3F) GETCWD(3F)
2
3
4
6 getcwd - get pathname of current working directory
7
9 integer function getcwd (dirname)
10 character*(*) dirname
11
13 The pathname of the default directory for creating and locating files
14 will be returned in dirname. The value of the function will be zero if
15 successful; an error code otherwise.
16
18 /usr/lib/libU77.a
19
21 chdir(3F), perror(3F)
22
24 Pathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>.
25
26
27
284.2 Berkeley Distribution May 15, 1985 GETCWD(3F)