fcntl.2: Clarify that F_GETFD and F_GETFL return flags via the function result

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-09-12 05:48:47 +01:00
parent dc4b358fe0
commit f157f403de
1 changed files with 3 additions and 2 deletions

View File

@ -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