chdir man page on UNIXv7

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

CHDIR(2)							      CHDIR(2)

NAME
       chdir, chroot - change default directory

SYNOPSIS
       chdir(dirname)
       char *dirname;

       chroot(dirname)
       char *dirname;

DESCRIPTION
       Dirname	is the address of the pathname of a directory, terminated by a
       null byte.  Chdir causes this directory to become the  current  working
       directory, the starting point for path names not beginning with `/'.

       Chroot  sets  the  root	directory,  the	 starting point for path names
       beginning with `/'.  The call is restricted to the super-user.

SEE ALSO
       cd(1)

DIAGNOSTICS
       Zero is returned if the directory is changed; -1	 is  returned  if  the
       given name is not that of a directory or is not searchable.

ASSEMBLER
       (chdir = 12.)
       sys chdir; dirname

       (chroot = 61.)
       sys chroot; dirname

								      CHDIR(2)
[top]

List of man pages available for UNIXv7

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