Unix |
Unix v6 |
|
![]() |
chdir(2) |
![]() |
chdir change working directory (chdir = 12.)
sys chdir; dirname chdir(dirname)
char *dirname; is the address of the pathname of a
directory, terminated by a null byte. causes this directory
to become the current working directory. chdir (I) 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.
![]() |
chdir(2) | ![]() |