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