flockfile.3: ATTRIBUTES: Note functions that are thread-safe

The functions flockfile(), ftrylockfile() and funlockfile() are
thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Peng Haitao 2013-07-23 10:25:24 +08:00 committed by Michael Kerrisk
parent 460e3d7a3e
commit 3cdc8f5719
1 changed files with 9 additions and 1 deletions

View File

@ -22,7 +22,7 @@
.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
.TH FLOCKFILE 3 2008-08-29 "" "Linux Programmer's Manual"
.TH FLOCKFILE 3 2013-07-23 "" "Linux Programmer's Manual"
.SH NAME
flockfile, ftrylockfile, funlockfile \- lock FILE for stdio
.SH SYNOPSIS
@ -124,6 +124,14 @@ function returns zero for success
(the lock was obtained), and nonzero for failure.
.SH ERRORS
None.
.SH ATTRIBUTES
.SS Multithreading (see pthreads(7))
The
.BR flockfile (),
.BR ftrylockfile (),
and
.BR funlockfile ()
functions are thread-safe.
.SH CONFORMING TO
POSIX.1-2001.
.SH AVAILABILITY