mirror of https://github.com/mkerrisk/man-pages
qecvt.3: Recommend snprintf(3) not sprintf(3)
Reported-by: Joseph S. Myers <joseph@codesourcery.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
ed725bac60
commit
9ac2ee45bb
17
man3/qecvt.3
17
man3/qecvt.3
|
@ -25,7 +25,7 @@
|
|||
.\" This replaces an earlier man page written by Walter Harms
|
||||
.\" <walter.harms@informatik.uni-oldenburg.de>.
|
||||
.\"
|
||||
.TH QECVT 3 2013-07-22 "GNU" "Linux Programmer's Manual"
|
||||
.TH QECVT 3 2014-03-11 "GNU" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
qecvt, qfcvt, qgcvt \- convert a floating-point number to a string
|
||||
.SH SYNOPSIS
|
||||
|
@ -50,6 +50,19 @@ 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 (),
|
||||
|
@ -89,7 +102,7 @@ Supported by glibc.
|
|||
.SH NOTES
|
||||
These functions are obsolete.
|
||||
Instead,
|
||||
.BR sprintf (3)
|
||||
.BR snprintf (3)
|
||||
is recommended.
|
||||
.SH SEE ALSO
|
||||
.BR ecvt (3),
|
||||
|
|
Loading…
Reference in New Issue