OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / original / man3 / qecvt.3
index 9cfa68d..9b158c0 100644 (file)
@@ -25,7 +25,7 @@
 .\" This replaces an earlier man page written by Walter Harms
 .\" <walter.harms@informatik.uni-oldenburg.de>.
 .\"
-.TH QECVT 3  2010-09-20 "GNU" "Linux Programmer's Manual"
+.TH QECVT 3  2014-08-19 "GNU" "Linux Programmer's Manual"
 .SH NAME
 qecvt, qfcvt, qgcvt \- convert a floating-point number to a string
 .SH SYNOPSIS
@@ -50,15 +50,28 @@ Feature Test Macro Requirements for glibc (see
 .BR qgcvt ():
 _SVID_SOURCE
 .ad b
+.\" FIXME . The full FTM picture looks to have be something like the
+.\" following mess:
+.\"    glibc 2.20 onward
+.\"        _DEFAULT_SOURCE
+.\"    glibc 2.18 to glibc 2.19
+.\"        _BSD_SOURCE || _SVID_SOURCE
+.\"    glibc 2.10 to glibc 2.17
+.\"        _SVID_SOURCE || (_XOPEN_SOURCE >= 500 ||
+.\"            (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED) &&
+.\"                ! (_POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 700))
+.\"    Before glibc 2.10:
+.\"        _SVID_SOURCE || _XOPEN_SOURCE >= 500 ||
+.\"            (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED)
 .SH DESCRIPTION
 The functions
 .BR qecvt (),
-.BR qfcvt ()
+.BR qfcvt (),
 and
 .BR qgcvt ()
 are identical to
 .BR ecvt (3),
-.BR fcvt (3)
+.BR fcvt (3),
 and
 .BR gcvt (3)
 respectively, except that they use a
@@ -69,19 +82,39 @@ See
 .BR ecvt (3)
 and
 .BR gcvt (3).
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR qecvt ()
+and
+.BR qfcvt ()
+functions are not thread-safe.
+.LP
+The
+.BR qgcvt ()
+function is thread-safe.
 .SH CONFORMING TO
 SVr4.
 Not seen in most common UNIX implementations,
 but occurs in SunOS.
-Not supported by libc4 and libc5.
+.\" Not supported by libc4 and libc5.
 Supported by glibc.
 .SH NOTES
 These functions are obsolete.
 Instead,
-.BR sprintf (3)
+.BR snprintf (3)
 is recommended.
 .SH SEE ALSO
 .BR ecvt (3),
 .BR ecvt_r (3),
 .BR gcvt (3),
 .BR sprintf (3)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.