|
|
1.1 root 1: .TH GETCWD 3F "18 July 1983"
2: .UC 4
3: .SH NAME
4: getcwd \- get pathname of current working directory
5: .SH SYNOPSIS
6: .B integer function getcwd (dirname)
7: .br
8: .B character*(*) dirname
9: .SH DESCRIPTION
10: The pathname of the default directory for creating and locating files
11: will be returned in
12: .I dirname.
13: The value of the function will be zero if successful; an error code otherwise.
14: .SH FILES
15: .ie \nM /usr/ucb/lib/libU77.a
16: .el /usr/lib/libU77.a
17: .SH "SEE ALSO"
18: chdir(3F), perror(3F)
19: .SH BUGS
20: Pathnames can be no longer than MAXPATHLEN as defined in
21: .RI < sys/param.h >.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.