aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorPeng Haitao <penght@cn.fujitsu.com>2014-01-13 14:01:08 +0800
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-01-13 21:41:05 +1300
commit1a10d985a16bfd14c77dfa63566e14c1cfe828a9 (patch)
tree42630c5c122502ae195132191a4cd7be7c11d39b /man3
parent87a77f93a811a7828b37c0b5e791d1dc62222ccb (diff)
downloadman-pages-1a10d985a16bfd14c77dfa63566e14c1cfe828a9.tar.gz
stpcpy.3: ATTRIBUTES: Note function that is thread-safe
The function stpcpy() is thread safe. Signed-off-by: Peng Haitao <penght@cn.fujitsu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/stpcpy.37
1 files changed, 6 insertions, 1 deletions
diff --git a/man3/stpcpy.3 b/man3/stpcpy.3
index 09d74b7add..4718a96718 100644
--- a/man3/stpcpy.3
+++ b/man3/stpcpy.3
@@ -22,7 +22,7 @@
.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
-.TH STPCPY 3 2012-03-15 "GNU" "Linux Programmer's Manual"
+.TH STPCPY 3 2014-01-13 "GNU" "Linux Programmer's Manual"
.SH NAME
stpcpy \- copy a string returning a pointer to its end
.SH SYNOPSIS
@@ -68,6 +68,11 @@ of the string
.I dest
(that is, the address of the terminating null byte)
rather than the beginning.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR stpcpy ()
+function is thread-safe.
.SH CONFORMING TO
This function was added to POSIX.1-2008.
Before that, it was not part of