CHDIR(2) CHDIR(2) NAME chdir - change working directory SYNOPSIS int chdir(char *dirname) DESCRIPTION Chdir changes the working directory of the invoking process to dirname. The working directory is the starting point for evaluating file names that do not begin with `/' or `#', as explained in intro(2). When Plan 9 boots, the initial pro- cess has `/' for its working directory. SEE ALSO intro(2) DIAGNOSTICS Sets errstr. Page 1 Plan 9 (printed 11/17/24)