.TH CHDIR 2 "2 July 1983"
chdir \- change current working directory
is the pathname of a directory.
to become the current working directory,
the starting point for path names not beginning with ``/''.
In order for a directory to become the current directory,
a process must have execute (search) access to the directory.
Upon successful completion, a value of 0 is returned.
Otherwise, a value of \-1 is returned and \fIerrno\fP is set to indicate
will fail and the current working directory will be unchanged if
one or more of the following are true:
A component of the pathname is not a directory.
The named directory does not exist.
The argument path name was too long.
The argument contains a byte with the high-order bit set.
Search permission is denied for any component of
points outside the process's allocated address space.
Too many symbolic links were encountered in translating