[Top] [Prev] [Next] [Bottom]


[Contents] [Index]

chdir - change working directory

chdir: fn(path: string): int;
## returns 0 for success, -1 for failure.

Description

The chdir function changes the working directory of the invoking process and its file namespace group to path.

The working directory is the starting point for evaluating file names that do not begin with / or #, as explained in System Module Overview.

When Inferno boots, the initial process has / for its working directory.

See Also

System Module Overview



[Top] [Prev] [Next] [Bottom]

infernosupport@lucent.com
Copyright © 1997, Lucent Technologies, Inc.. All rights reserved.