]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
profil.3: ATTRIBUTES: Note function that is not thread-safe
authorZeng Linggang <zenglg.jy@cn.fujitsu.com>
Thu, 11 Jun 2015 02:04:27 +0000 (10:04 +0800)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 12 Jun 2015 19:40:46 +0000 (21:40 +0200)
After research, We think profil() is not thread-safe. But,
there is not marking of profil() in glibc document.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/profil.3

index 437ee28b28b2ee67bccc1a4d36d6ced1d83f6a89..e087e7a6b536d6811ced0de061f96745b70efade 100644 (file)
@@ -67,6 +67,19 @@ If
 is NULL, profiling is disabled.
 .SH RETURN VALUE
 Zero is always returned.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface      Attribute       Value
+T{
+.BR profil ()
+T}     Thread safety   MT-Unsafe
+.TE
+
 .SH CONFORMING TO
 Similar to a call in SVr4 (but not POSIX.1-2001).
 .SH BUGS