]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
clearenv.3: ATTRIBUTES: Note function that is not thread-safe
authorZeng Linggang <zenglg.jy@cn.fujitsu.com>
Thu, 18 Jun 2015 05:36:48 +0000 (13:36 +0800)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 18 Jun 2015 07:04:14 +0000 (09:04 +0200)
The marking matches glibc marking.
The marking of functions in glibc is:
- clearenv: MT-Unsafe const:env

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

index 7a3d57a2b4039e2326db844e58b4dd161fa0a943..101fdeff198d6ec48ebe2395e3ff0b9d51478d58 100644 (file)
@@ -56,6 +56,19 @@ value on failure.
 .\" Glibc info and the Watcom C library document "a nonzero value".
 .SH VERSIONS
 Available since glibc 2.0.
+.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 clearenv ()
+T}     Thread safety   MT-Unsafe const:env
+.TE
+
 .SH CONFORMING TO
 Various UNIX variants (DG/UX, HP-UX, QNX, ...).
 POSIX.9 (bindings for FORTRAN77).