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