]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
fcntl.2: Warn that F_GETLK info may already be out of date when the call returns
authorMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 20 Feb 2014 07:34:28 +0000 (08:34 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 20 Feb 2014 07:34:28 +0000 (08:34 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/fcntl.2

index 73684609e0ba9760b43839580af003027b3c9027..12b30819217b4256263795707a70588060e84ac3 100644 (file)
@@ -58,7 +58,7 @@
 .\" 2010-06-17, Michael Kerrisk
 .\"    Document F_SETPIPE_SZ and F_GETPIPE_SZ.
 .\"
-.TH FCNTL 2 2014-01-21 "Linux" "Linux Programmer's Manual"
+.TH FCNTL 2 2014-02-20 "Linux" "Linux Programmer's Manual"
 .SH NAME
 fcntl \- manipulate file descriptor
 .SH SYNOPSIS
@@ -352,6 +352,9 @@ fields of
 and sets
 .I l_pid
 to be the PID of the process holding that lock.
+Note that the information returned by
+.BR F_GETLK
+may already be out of date by the time the caller inspects it.
 .P
 In order to place a read lock,
 .I fd