[PATCH] strnlen.3: ATTRIBUTES: Note function that is thread-safe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The function strnlen() is thread safe.

Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx>
---
 man3/strnlen.3 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/man3/strnlen.3 b/man3/strnlen.3
index 7548f59..b994743 100644
--- a/man3/strnlen.3
+++ b/man3/strnlen.3
@@ -10,7 +10,7 @@
 .\" References consulted:
 .\"   GNU glibc-2 source code and manual
 .\"
-.TH STRNLEN 3  2012-05-10 "GNU" "Linux Programmer's Manual"
+.TH STRNLEN 3  2014-02-25 "GNU" "Linux Programmer's Manual"
 .SH NAME
 strnlen \- determine the length of a fixed-size string
 .SH SYNOPSIS
@@ -68,6 +68,11 @@ if there is no null byte (\(aq\\0\(aq) among the first
 .I maxlen
 bytes pointed to by
 .IR s .
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR strnlen ()
+function is thread-safe.
 .SH CONFORMING TO
 POSIX.1-2008.
 .SH SEE ALSO
-- 
1.8.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux