File:  [Research Unix] / researchv10dc / dist / man / v4 / man2 / chdir.2
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

.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.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.