File:  [MW Coherent from dump] / coherent / a / usr / man / MULTI / chdir
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



chdir()                COHERENT System Call               chdir()




Change working directory

cchhddiirr(_d_i_r_e_c_t_o_r_y) cchhaarr *_d_i_r_e_c_t_o_r_y;

The  working directory  (or _c_u_r_r_e_n_t  _d_i_r_e_c_t_o_r_y) is  the directory
from which the search for a  file name begins if a path name does
not begin with `/'.  By convention, the working directory has the
name `.'.   chdir changes the working  directory to the directory
pointed  to by  directory.  This  change is  in effect  until the
program exits or calls cchhddiirr again.

***** See Also *****

cd, chmod(), chroot(), COHERENT system calls, directory

***** Diagnostics *****

chdir returns zero if successful.   It returns -1 if an error oc-
curred, e.g., that directory  does not exist, is not a directory,
or is not searchable.




































COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

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