WORKDIR(2) WORKDIR(2) NAME workdir - get the current working directory SYNOPSIS include "workdir.m"; workdir := load Workdir Workdir->PATH; init: fn(): string; DESCRIPTION Workdir returns a string representation of the working directory of the invoking process. When Inferno boots, the initial process has / for its work- ing directory. SOURCE /appl/lib/workdir.b SEE ALSO sys-chdir(2), sys-stat(2) BUGS The result is usually wrong when the current directory is beneath a union directory. The implementation needs improving. Page 1 Plan 9 (printed 11/18/24)