.th CHDIR II 8/5/73
.sh NAME
chdir \*- change working directory
.sh SYNOPSIS
(chdir = 12.)
.br
.ft B
sys chdir; dirname
.s3
chdir(dirname)
.br
char *dirname;
.ft R
.sh DESCRIPTION
.it Dirname
is the address of the pathname of a directory, terminated by a null byte.
.it Chdir
causes this directory
to become the current working directory.
.sh "SEE ALSO"
chdir(I)
.sh DIAGNOSTICS
The error bit (c-bit)
is set if the given name is not that of a directory
or is not readable.
From C, a \*-1 returned value indicates an error,
0 indicates success.
