chdir - change working directory — Inferno 1ed
chdir - change working directory
include "sys.m"; sys:= load Sys Sys->PATH; chdir: fn(path: string): int;
Description
chdir (path)
The chdir function changes the working directory of the invoking process and its file name space group to path.The working directory is the starting point for evaluating file names that do not begin with / or #, as explained in Limbo System Module .
When Inferno boots, the initial process has / for its working directory.
See Also
Limbo System Module, File Name Space
infernosupport@lucent.com Copyright © 1996,Lucent Technologies, Inc. All rights reserved.