fcntl.2: RETURN VALUE: Improve description of F_GETFD and F_GETFL

Reported-by: scarlettsp <scarlettsp@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2010-10-30 07:23:10 +02:00
parent ae416c7e62
commit e4b4151a14
1 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@
.\" 2010-06-17, Michael Kerrisk
.\" Document F_SETPIPE_SZ and F_GETPIPE_SZ.
.\"
.TH FCNTL 2 2010-09-10 "Linux" "Linux Programmer's Manual"
.TH FCNTL 2 2010-09-30 "Linux" "Linux Programmer's Manual"
.SH NAME
fcntl \- manipulate file descriptor
.SH SYNOPSIS
@ -1045,10 +1045,10 @@ For a successful call, the return value depends on the operation:
The new descriptor.
.TP
.B F_GETFD
Value of flags.
Value of file descriptor flags.
.TP
.B F_GETFL
Value of flags.
Value of file status flags.
.TP
.B F_GETLEASE
Type of lease held on file descriptor.