aboutsummaryrefslogtreecommitdiffstats
path: root/man2/chmod.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2014-02-21 08:46:23 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-02-21 12:41:04 +0100
commit3894e13892b5080bcc9149e1ef5e43b055088a03 (patch)
tree7ed7cd71059fb9c6ed337478cee431a19da61625 /man2/chmod.2
parent5dec01d6bdf748e081eae24bf14c1c257e17bccd (diff)
downloadman-pages-3894e13892b5080bcc9149e1ef5e43b055088a03.tar.gz
chmod.2: Post-merge reworking of text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/chmod.2')
-rw-r--r--man2/chmod.210
1 files changed, 8 insertions, 2 deletions
diff --git a/man2/chmod.2 b/man2/chmod.2
index ddaf3d77cf..4a4875c822 100644
--- a/man2/chmod.2
+++ b/man2/chmod.2
@@ -79,7 +79,11 @@ _ATFILE_SOURCE
.PD
.ad
.SH DESCRIPTION
-These system calls change the permissions of a file.
+The
+.BR chmod ()
+and
+.BR fchmod ()
+system calls change the permissions of a file.
They differ only in how the file is specified:
.IP * 2
.BR chmod ()
@@ -225,7 +229,9 @@ On error, \-1 is returned, and
.I errno
is set appropriately.
.SH ERRORS
-Depending on the filesystem, other errors can be returned.
+Depending on the filesystem,
+errors other than those listed below can be returned.
+
The more general errors for
.BR chmod ()
are listed below: