[Top] [Prev] [Next]

chdir

chdir - change working directory

Synopsis

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 Modules.

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

See Also

Limbo System Modules



[Top] [Prev] [Next]

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