include "sys.m"; sys := load Sys Sys->PATH; chdir: fn(path: string): int;
The working directory is the starting point for evaluating file names that do not begin with / or #, as explained in sys-intro(2).
When Inferno boots, the initial process has / for its working directory.
Applications that invoke chdir normally use the FORKNS option of sys-pctl(2) to prevent the change from affecting the surrounding environment.
SYS-CHDIR(2 ) | Rev: Tue Mar 31 02:42:39 GMT 2015 |