workdir
workdir - discover the name of the current working directory
Synopsis
include "lib.m";
workdir:= load Workdir Workdir->PATH;
init: fn(): string;
Description
The Workdir module returns a string representation of the working directory of the invoking process.
When Inferno boots, the initial process has / for its working directory.
Notes
On hosted Inferno systems / corresponds to <inferno_root> of the host system.
The default value of <inferno_root> is /usr/inferno on Unix-hosted systems and \users\inferno on Windows-hosted systems.
See Also
chdir and stat
infernosupport@lucent.com
Copyright © 1996,Lucent Technologies, Inc. All rights
reserved.