]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
ecvt.3: ATTRIBUTES: Note functions that are not thread-safe
authorPeng Haitao <penght@cn.fujitsu.com>
Tue, 12 Mar 2013 10:41:58 +0000 (18:41 +0800)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 19 Jun 2013 01:29:42 +0000 (03:29 +0200)
The functions ecvt() and fcvt() return a string located in a
static buffer which is overwritten by the next call to the
functions, so they are not thread-safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/ecvt.3

index a216821e17f46f7278b3a7177e38f6a2fba2e88a..f1413e20f07882aad6d6a3d010dfcc78e7fece22 100644 (file)
@@ -29,7 +29,7 @@
 .\" Modified Sat Jul 24 19:40:39 1993 by Rik Faith (faith@cs.unc.edu)
 .\" Modified Fri Jun 25 12:10:47 1999 by Andries Brouwer (aeb@cwi.nl)
 .\"
-.TH ECVT 3 2010-09-20 "" "Linux Programmer's Manual"
+.TH ECVT 3 2013-03-12 "" "Linux Programmer's Manual"
 .SH NAME
 ecvt, fcvt \- convert a floating-point number to a string
 .SH SYNOPSIS
@@ -107,6 +107,13 @@ The static string is overwritten by each call to
 .BR ecvt ()
 or
 .BR fcvt ().
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR ecvt ()
+and
+.BR fcvt ()
+functions are not thread-safe.
 .SH CONFORMING TO
 SVr2;
 marked as LEGACY in POSIX.1-2001.