*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: chdir | Section: 2 | Source: UNIX v7 | File: chdir.2
CHDIR(2) System Calls Manual 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 be- ginning 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)

Navigation Options