CHDIR(II)                     8/5/73                    CHDIR(II)



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, ter-
     minated by a null byte.  Chdir causes this directory to  be-
     come 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 directory or is not readable.  From C,  a  -1  returned
     value indicates an error, 0 indicates success.



































                              - 1 -