mirror of https://github.com/mkerrisk/man-pages
Clarify description a little.
s/changes the root directory/changes the root directory of the calling process/
This commit is contained in:
parent
ffe84477ec
commit
bed63c46ad
|
@ -30,7 +30,7 @@
|
||||||
.\" Modified 1997-08-21 by Joseph S. Myers <jsm28@cam.ac.uk>
|
.\" Modified 1997-08-21 by Joseph S. Myers <jsm28@cam.ac.uk>
|
||||||
.\" Modified 2004-06-23 by Michael Kerrisk <mtk.manpages@gmail.com>
|
.\" Modified 2004-06-23 by Michael Kerrisk <mtk.manpages@gmail.com>
|
||||||
.\"
|
.\"
|
||||||
.TH CHROOT 2 2004-06-23 "Linux" "Linux Programmer's Manual"
|
.TH CHROOT 2 2008-06-23 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
chroot \- change root directory
|
chroot \- change root directory
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -39,7 +39,7 @@ chroot \- change root directory
|
||||||
.BI "int chroot(const char *" path );
|
.BI "int chroot(const char *" path );
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR chroot ()
|
.BR chroot ()
|
||||||
changes the root directory to that specified in
|
changes the root directory of the calling process to that specified in
|
||||||
.IR path .
|
.IR path .
|
||||||
This directory will be used for pathnames beginning with \fI/\fP.
|
This directory will be used for pathnames beginning with \fI/\fP.
|
||||||
The root directory is inherited by all children of the calling process.
|
The root directory is inherited by all children of the calling process.
|
||||||
|
|
Loading…
Reference in New Issue