|
|
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: .\" @(#)chdir.3f 6.1 (Berkeley) 5/15/85
6: .\"
7: .TH CHDIR 3F "May 15, 1985"
8: .UC 5
9: .SH NAME
10: chdir \- change default directory
11: .SH SYNOPSIS
12: .B integer function chdir (dirname)
13: .br
14: .B character*(*) dirname
15: .SH DESCRIPTION
16: The default directory for creating and locating files will be
17: changed to
18: .I dirname.
19: Zero is returned 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(2), cd(1), perror(3F)
25: .SH BUGS
26: Pathnames can be no longer than MAXPATHLEN as defined in
27: .RI < sys/param.h >.
28: .PP
29: Use of this function may cause
30: .B inquire
31: by unit to fail.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.