NAME
chdir - change working directory
SYNOPSIS
(chdir = 12.)
sys chdir; dirname
chdir(dirname)
char *dirname;
DESCRIPTION
Dirname is the address of the pathname of a directory, terminated by a
null byte. Chdir causes this directory to become the current working
directory.
SEE ALSO
chdir (I)
DIAGNOSTICS
The error bit (c-bit) is set if the given name is not that of a direc-
tory or is not readable. From C, a -1 returned value indicates an
error, 0 indicates success.