1GETCWD(3F)                                                          GETCWD(3F)
2
3
4

NAME

6       getcwd - get pathname of current working directory
7

SYNOPSIS

9       integer function getcwd (dirname)
10       character*(*) dirname
11

DESCRIPTION

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

FILES

18       /usr/lib/libU77.a
19

SEE ALSO

21       chdir(3F), perror(3F)
22

BUGS

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)
Impressum