mirror of https://github.com/mkerrisk/man-pages
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:
parent
dc4b358fe0
commit
f157f403de
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue