|
|
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
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.