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

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

 



The function stpncpy() is thread safe.

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

diff --git a/man3/stpncpy.3 b/man3/stpncpy.3
index 378f05a..fdf5139 100644
--- a/man3/stpncpy.3
+++ b/man3/stpncpy.3
@@ -11,7 +11,7 @@
 .\"   GNU glibc-2 source code and manual
 .\"
 .\" Corrected, aeb, 990824
-.TH STPNCPY 3  2011-09-28 "GNU" "Linux Programmer's Manual"
+.TH STPNCPY 3  2014-01-13 "GNU" "Linux Programmer's Manual"
 .SH NAME
 stpncpy \- copy a fixed-size string, returning a pointer to its end
 .SH SYNOPSIS
@@ -88,6 +88,11 @@ or, if
 .I dest
 is not null-terminated,
 .IR dest + n .
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR stpncpy ()
+function is thread-safe.
 .SH CONFORMING TO
 This function was added to POSIX.1-2008.
 Before that, it was a GNU extension.
-- 
1.8.4.2

--
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