Skip to contentSkip to conversation

lockf.3: ATTRIBUTES: Note function that is thread-safe

PATCH In review Qian Lei 2 participants 2 messages Jun 11, 2014 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore

Qian Lei

author
#0 lore raw

PATCH 1/1 lockf.3: ATTRIBUTES: Note function that is thread-safe

The function lockf() is thread safe.

---
 man3/lockf.3 | 5 +++++
 1 file changed, 5 insertions(+)
man3/lockf.3 +5 -0
index d33c769..8395d85 100644
@@ -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
Signature · 6 lines
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw

Thanks, Qian Lei. Applied.

Cheers,

Michael

Quoted 25 lines · Qian Lei

The function lockf() is thread safe.

---
 man3/lockf.3 | 5 +++++
 1 file changed, 5 insertions(+)
man3/lockf.3 +5 -0
index d33c769..8395d85 100644
@@ -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
Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html