sys-chdir man page on Inferno

Man page or keyword search:  
man Server   579 pages
apropos Keyword Search (all sections)
Output format
Inferno logo
[printable version]

SYS-CHDIR(2)							  SYS-CHDIR(2)

NAME
       chdir - change working directory

SYNOPSIS
       include "sys.m";
       sys := load Sys Sys->PATH;

       chdir:  fn(path: string): int;

DESCRIPTION
       Chdir  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 sys-intro(2).

       When  Inferno  boots,  the initial process has / for its working direc‐
       tory.

       Applications that invoke chdir normally use the FORKNS option  of  sys-
       pctl(2)	to  prevent the change from affecting the surrounding environ‐
       ment.

DIAGNOSTICS
       Returns 0 on success; -1 on failure.

SEE ALSO
       sys-intro(2)

								  SYS-CHDIR(2)
[top]

List of man pages available for Inferno

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net