aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-09-12 05:48:47 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-09-12 05:48:47 +0100
commitf157f403de9ef099a1cfeaa2b2d95b4347b833c8 (patch)
tree7d01fd03f6d036881b79397b6f90a52a8a9c9cba
parentdc4b358fe0476c7ca42a0b7ec1b69f22e3b09e3d (diff)
downloadman-pages-f157f403de9ef099a1cfeaa2b2d95b4347b833c8.tar.gz
fcntl.2: Clarify that F_GETFD and F_GETFL return flags via the function result
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/fcntl.25
1 files changed, 3 insertions, 2 deletions
diff --git a/man2/fcntl.2 b/man2/fcntl.2
index 6795dc35f2..cbe75e2760 100644
--- a/man2/fcntl.2
+++ b/man2/fcntl.2
@@ -149,7 +149,7 @@ bit is 0, the file descriptor will remain open across an
otherwise it will be closed.
.TP
.BR F_GETFD " (\fIvoid\fP)"
-Read the file descriptor flags;
+Return (as the function result) the file descriptor flags;
.I arg
is ignored.
.TP
@@ -191,7 +191,8 @@ The file status flags and their semantics are described in
.BR open (2).
.TP
.BR F_GETFL " (\fIvoid\fP)"
-Get the file access mode and the file status flags;
+Return (as the function result)
+the file access mode and the file status flags;
.I arg
is ignored.
.TP