include "sys.m"; sys := load Sys Sys->PATH; fd2path(fd: ref FD): string;
Changes to the underlying name space do not update the path name stored with the file descriptor. Therefore, the path returned by fd2path may no longer refer to the same file (or indeed any file) after some component directory or file in the path has been removed, renamed or rebound.
As an example, workdir(2) is implemented by opening . and executing fd2path on the resulting file descriptor.
|FD2PATH(2 )||Rev: Tue Mar 31 02:42:38 GMT 2015|