|
|
1.1 root 1: .th CHDIR II 8/5/73
2: .sh NAME
3: chdir \*- change working directory
4: .sh SYNOPSIS
5: (chdir = 12.)
6: .br
7: .ft B
8: sys chdir; dirname
9: .s3
10: chdir(dirname)
11: .br
12: char *dirname;
13: .ft R
14: .sh DESCRIPTION
15: .it Dirname
16: is the address of the pathname of a directory, terminated by a null byte.
17: .it Chdir
18: causes this directory
19: to become the current working directory.
20: .sh "SEE ALSO"
21: chdir(I)
22: .sh DIAGNOSTICS
23: The error bit (c-bit)
24: is set if the given name is not that of a directory
25: or is not readable.
26: From C, a \*-1 returned value indicates an error,
27: 0 indicates success.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.