Bell 32V development
[unix-history] / usr / man / man2 / chdir.2
index 4e038eb..f2d1544 100644 (file)
@@ -1,14 +1,10 @@
-.TH "CHDIR" 2 
+.TH CHDIR 2 
 .SH NAME
 .SH NAME
-chdir, chroot \- change default directory
+chdir \- change default directory
 .SH SYNOPSIS
 .B chdir(dirname)
 .br
 .B char *dirname;
 .SH SYNOPSIS
 .B chdir(dirname)
 .br
 .B char *dirname;
-.PP
-.B chroot(dirname)
-.br
-.B char *dirname;
 .SH DESCRIPTION
 .I Dirname
 is the address of the pathname of a directory, terminated by a null byte.
 .SH DESCRIPTION
 .I Dirname
 is the address of the pathname of a directory, terminated by a null byte.
@@ -16,11 +12,6 @@ is the address of the pathname of a directory, terminated by a null byte.
 causes this directory
 to become the current working directory,
 the starting point for path names not beginning with `/'.
 causes this directory
 to become the current working directory,
 the starting point for path names not beginning with `/'.
-.PP
-.I Chroot
-sets the root directory, the
-starting point for path names beginning with `/'.
-The call is restricted to the super-user.
 .SH "SEE ALSO"
 cd(1)
 .SH DIAGNOSTICS
 .SH "SEE ALSO"
 cd(1)
 .SH DIAGNOSTICS
@@ -32,7 +23,3 @@ or is not searchable.
 (chdir = 12.)
 .br
 .B sys chdir; dirname
 (chdir = 12.)
 .br
 .B sys chdir; dirname
-.PP
-(chroot = 61.)
-.br
-.B sys chroot; dirname