From mboxrd@z Thu Jan 1 00:00:00 1970 From: Qian Lei Subject: [PATCH] lockf.3: ATTRIBUTES: Note function that is thread-safe Date: Wed, 11 Jun 2014 13:47:36 +0800 Message-ID: <1402465656.20654.9.camel@fedora> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "mtk.manpages" Cc: aoliva , carlos , linux-man , =?UTF-8?Q?=E5=BD=AD=E6=B5=B7=E6=B6=9B?= List-Id: linux-man@vger.kernel.org The function lockf() is thread safe. Reviewed-by: Peng Haitao Signed-off-by: Qian Lei --- man3/lockf.3 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/man3/lockf.3 b/man3/lockf.3 index d33c769..8395d85 100644 --- a/man3/lockf.3 +++ b/man3/lockf.3 @@ -151,6 +151,11 @@ An invalid operation was specified in .TP .B ENOLCK Too many segment locks open, lock table is full. +.SH ATTRIBUTES +.SS Multithreading (see pthreads(7)) +The +.BR lockf () +function is thread-safe. .SH CONFORMING TO SVr4, POSIX.1-2001. .SH SEE ALSO -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html