summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/chroot.2
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2002-07-15 20:59:12 +0000
committerkeramida <keramida@FreeBSD.org>2002-07-15 20:59:12 +0000
commit5bd8884c66002f4da091ba3fdf9309e79aae1d86 (patch)
tree0740bbdd50b4e24e3b8d60b613944f1de59b7db7 /lib/libc/sys/chroot.2
parent5777e081fa3c49e12058a541a71c4950aa3e5d21 (diff)
downloadFreeBSD-src-5bd8884c66002f4da091ba3fdf9309e79aae1d86.zip
FreeBSD-src-5bd8884c66002f4da091ba3fdf9309e79aae1d86.tar.gz
The .Fn function.
Diffstat (limited to 'lib/libc/sys/chroot.2')
-rw-r--r--lib/libc/sys/chroot.29
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2
index 3b4d98d..cae864d 100644
--- a/lib/libc/sys/chroot.2
+++ b/lib/libc/sys/chroot.2
@@ -47,8 +47,9 @@
.Sh DESCRIPTION
.Fa Dirname
is the address of the pathname of a directory, terminated by an ASCII NUL.
-.Fn Chroot
-causes
+The
+.Fn chroot
+function causes
.Fa dirname
to become the root directory,
that is, the starting point for path searches of pathnames
@@ -99,7 +100,9 @@ a value of -1 is returned and
.Va errno
is set to indicate an error.
.Sh ERRORS
-.Fn Chroot
+The
+.Fn chroot
+function
will fail and the root directory will be unchanged if:
.Bl -tag -width Er
.It Bq Er ENOTDIR
OpenPOWER on IntegriCloud