[Top] [Prev] [Next]

workdir - discover the name of the current working directory

include "workdir.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 root (/) for its working directory.

Notes

On hosted Inferno system's root (/) 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 - change working directory in Chapter 8



[Top] [Prev] [Next]

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