mirror of https://github.com/mkerrisk/man-pages
atof.3, atoi.3, strstr.3, strtod.3, toupper.3, towlower.3, towupper.3, wcscasecmp.3, wcsncasecmp.3, wcstoimax.3, wcswidth.3, wctrans.3, wctype.3, wcwidth.3: Make wording around thread-safety and setlocale() more precise
Reported-by: Andre Majorel <aym-xunil@teaser.fr> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
88576984f2
commit
e4ecdf3614
|
@ -28,7 +28,7 @@
|
||||||
.\" 386BSD man pages
|
.\" 386BSD man pages
|
||||||
.\" Modified Mon Mar 29 22:39:24 1993, David Metcalfe
|
.\" Modified Mon Mar 29 22:39:24 1993, David Metcalfe
|
||||||
.\" Modified Sat Jul 24 21:39:22 1993, Rik Faith (faith@cs.unc.edu)
|
.\" Modified Sat Jul 24 21:39:22 1993, Rik Faith (faith@cs.unc.edu)
|
||||||
.TH ATOF 3 2013-10-08 "GNU" "Linux Programmer's Manual"
|
.TH ATOF 3 2014-01-22 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
atof \- convert a string to a double
|
atof \- convert a string to a double
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -61,7 +61,7 @@ The
|
||||||
function is thread-safe with exceptions.
|
function is thread-safe with exceptions.
|
||||||
It can be safely used in multithreaded applications, as long as
|
It can be safely used in multithreaded applications, as long as
|
||||||
.BR setlocale (3)
|
.BR setlocale (3)
|
||||||
is not called to change the locale.
|
is not called to change the locale during its execution.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
SVr4, POSIX.1-2001, 4.3BSD, C89, C99.
|
SVr4, POSIX.1-2001, 4.3BSD, C89, C99.
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
.\" Modified Sat Jul 24 21:38:42 1993, Rik Faith (faith@cs.unc.edu)
|
.\" Modified Sat Jul 24 21:38:42 1993, Rik Faith (faith@cs.unc.edu)
|
||||||
.\" Modified Sun Dec 17 18:35:06 2000, Joseph S. Myers
|
.\" Modified Sun Dec 17 18:35:06 2000, Joseph S. Myers
|
||||||
.\"
|
.\"
|
||||||
.TH ATOI 3 2013-10-14 "GNU" "Linux Programmer's Manual"
|
.TH ATOI 3 2014-01-22 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
atoi, atol, atoll, atoq \- convert a string to an integer
|
atoi, atol, atoll, atoq \- convert a string to an integer
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -101,7 +101,7 @@ functions are thread-safe with exceptions.
|
||||||
These functions can be safely used in multithreaded applications,
|
These functions can be safely used in multithreaded applications,
|
||||||
as long as
|
as long as
|
||||||
.BR setlocale (3)
|
.BR setlocale (3)
|
||||||
is not called to change the locale.
|
is not called to change the locale during their execution.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
SVr4, POSIX.1-2001, 4.3BSD, C99.
|
SVr4, POSIX.1-2001, 4.3BSD, C99.
|
||||||
C89 and
|
C89 and
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
.\" Added history, aeb, 980113.
|
.\" Added history, aeb, 980113.
|
||||||
.\" 2005-05-05 mtk: added strcasestr()
|
.\" 2005-05-05 mtk: added strcasestr()
|
||||||
.\"
|
.\"
|
||||||
.TH STRSTR 3 2014-01-15 "GNU" "Linux Programmer's Manual"
|
.TH STRSTR 3 2014-01-22 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
strstr, strcasestr \- locate a substring
|
strstr, strcasestr \- locate a substring
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -73,7 +73,7 @@ The
|
||||||
function is thread-safe with exceptions.
|
function is thread-safe with exceptions.
|
||||||
It can be safely used in multithreaded applications, as long as
|
It can be safely used in multithreaded applications, as long as
|
||||||
.BR setlocale (3)
|
.BR setlocale (3)
|
||||||
is not called to change the locale.
|
is not called to change the locale during its execution.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
The
|
The
|
||||||
.BR strstr ()
|
.BR strstr ()
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
.\" (michael@cantor.informatik.rwth-aachen.de)
|
.\" (michael@cantor.informatik.rwth-aachen.de)
|
||||||
.\" Added strof, strtold, aeb, 2001-06-07
|
.\" Added strof, strtold, aeb, 2001-06-07
|
||||||
.\"
|
.\"
|
||||||
.TH STRTOD 3 2014-01-20 "Linux" "Linux Programmer's Manual"
|
.TH STRTOD 3 2014-01-22 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
strtod, strtof, strtold \- convert ASCII string to floating-point number
|
strtod, strtof, strtold \- convert ASCII string to floating-point number
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -168,7 +168,7 @@ functions are thread-safe with exceptions.
|
||||||
These functions can be safely used in multithreaded applications,
|
These functions can be safely used in multithreaded applications,
|
||||||
as long as
|
as long as
|
||||||
.BR setlocale (3)
|
.BR setlocale (3)
|
||||||
is not called to change the locale.
|
is not called to change the locale during their execution.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
C89 describes
|
C89 describes
|
||||||
.BR strtod (),
|
.BR strtod (),
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" Modified Sat Jul 24 17:45:39 1993 by Rik Faith (faith@cs.unc.edu)
|
.\" Modified Sat Jul 24 17:45:39 1993 by Rik Faith (faith@cs.unc.edu)
|
||||||
.\" Modified 2000-02-13 by Nicolás Lichtmaier <nick@debian.org>
|
.\" Modified 2000-02-13 by Nicolás Lichtmaier <nick@debian.org>
|
||||||
.TH TOUPPER 3 2013-12-24 "GNU" "Linux Programmer's Manual"
|
.TH TOUPPER 3 2014-01-22 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
toupper, tolower \- convert letter to upper or lower case
|
toupper, tolower \- convert letter to upper or lower case
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -68,7 +68,7 @@ functions are thread-safe with exceptions.
|
||||||
These functions can be safely used in multithreaded applications,
|
These functions can be safely used in multithreaded applications,
|
||||||
as long as
|
as long as
|
||||||
.BR setlocale (3)
|
.BR setlocale (3)
|
||||||
is not called to change the locale.
|
is not called to change the locale during their execution.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
C89, C99, 4.3BSD.
|
C89, C99, 4.3BSD.
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
|
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
|
||||||
.\" ISO/IEC 9899:1999
|
.\" ISO/IEC 9899:1999
|
||||||
.\"
|
.\"
|
||||||
.TH TOWLOWER 3 2014-01-06 "GNU" "Linux Programmer's Manual"
|
.TH TOWLOWER 3 2014-01-22 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
towlower \- convert a wide character to lowercase
|
towlower \- convert a wide character to lowercase
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -57,7 +57,7 @@ The
|
||||||
function is thread-safe with exceptions.
|
function is thread-safe with exceptions.
|
||||||
It can be safely used in multithreaded applications, as long as
|
It can be safely used in multithreaded applications, as long as
|
||||||
.BR setlocale (3)
|
.BR setlocale (3)
|
||||||
is not called to change the locale.
|
is not called to change the locale during its execution.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
C99.
|
C99.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
|
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
|
||||||
.\" ISO/IEC 9899:1999
|
.\" ISO/IEC 9899:1999
|
||||||
.\"
|
.\"
|
||||||
.TH TOWUPPER 3 2014-01-06 "GNU" "Linux Programmer's Manual"
|
.TH TOWUPPER 3 2014-01-22 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
towupper \- convert a wide character to uppercase
|
towupper \- convert a wide character to uppercase
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -57,7 +57,7 @@ The
|
||||||
function is thread-safe with exceptions.
|
function is thread-safe with exceptions.
|
||||||
It can be safely used in multithreaded applications, as long as
|
It can be safely used in multithreaded applications, as long as
|
||||||
.BR setlocale (3)
|
.BR setlocale (3)
|
||||||
is not called to change the locale.
|
is not called to change the locale during its execution.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
C99.
|
C99.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
.\" Dinkumware C library reference http://www.dinkumware.com/
|
.\" Dinkumware C library reference http://www.dinkumware.com/
|
||||||
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
|
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
|
||||||
.\"
|
.\"
|
||||||
.TH WCSCASECMP 3 2013-11-21 "GNU" "Linux Programmer's Manual"
|
.TH WCSCASECMP 3 2014-01-22 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
wcscasecmp \- compare two wide-character strings, ignoring case
|
wcscasecmp \- compare two wide-character strings, ignoring case
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -87,7 +87,7 @@ The
|
||||||
function is thread-safe with exceptions.
|
function is thread-safe with exceptions.
|
||||||
It can be safely used in multithreaded applications, as long as
|
It can be safely used in multithreaded applications, as long as
|
||||||
.BR setlocale (3)
|
.BR setlocale (3)
|
||||||
is not called to change the locale.
|
is not called to change the locale during its execution.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
POSIX.1-2008.
|
POSIX.1-2008.
|
||||||
This function is not specified in POSIX.1-2001,
|
This function is not specified in POSIX.1-2001,
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
.\" Dinkumware C library reference http://www.dinkumware.com/
|
.\" Dinkumware C library reference http://www.dinkumware.com/
|
||||||
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
|
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
|
||||||
.\"
|
.\"
|
||||||
.TH WCSNCASECMP 3 2013-11-25 "GNU" "Linux Programmer's Manual"
|
.TH WCSNCASECMP 3 2014-01-22 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
wcsncasecmp \- compare two fixed-size wide-character strings, ignoring case
|
wcsncasecmp \- compare two fixed-size wide-character strings, ignoring case
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -92,7 +92,7 @@ The
|
||||||
function is thread-safe with exceptions.
|
function is thread-safe with exceptions.
|
||||||
It can be safely used in multithreaded applications, as long as
|
It can be safely used in multithreaded applications, as long as
|
||||||
.BR setlocale (3)
|
.BR setlocale (3)
|
||||||
is not called to change the locale.
|
is not called to change the locale during its execution.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
POSIX.1-2008.
|
POSIX.1-2008.
|
||||||
This function is not specified in POSIX.1-2001,
|
This function is not specified in POSIX.1-2001,
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
.\" <http://www.gnu.org/licenses/>.
|
.\" <http://www.gnu.org/licenses/>.
|
||||||
.\" %%%LICENSE_END
|
.\" %%%LICENSE_END
|
||||||
.\"
|
.\"
|
||||||
.TH WCSTOIMAX 3 2013-11-18 "" "Linux Programmer's Manual"
|
.TH WCSTOIMAX 3 2014-01-22 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
wcstoimax, wcstoumax \- convert wide-character string to integer
|
wcstoimax, wcstoumax \- convert wide-character string to integer
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -56,7 +56,7 @@ functions are thread-safe with exceptions.
|
||||||
These functions can be safely used in multithreaded applications,
|
These functions can be safely used in multithreaded applications,
|
||||||
as long as
|
as long as
|
||||||
.BR setlocale (3)
|
.BR setlocale (3)
|
||||||
is not called to change the locale.
|
is not called to change the locale during their execution.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
C99.
|
C99.
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
.\" Dinkumware C library reference http://www.dinkumware.com/
|
.\" Dinkumware C library reference http://www.dinkumware.com/
|
||||||
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
|
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
|
||||||
.\"
|
.\"
|
||||||
.TH WCSWIDTH 3 2013-11-18 "GNU" "Linux Programmer's Manual"
|
.TH WCSWIDTH 3 2014-01-22 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
wcswidth \- determine columns needed for a fixed-size wide-character string
|
wcswidth \- determine columns needed for a fixed-size wide-character string
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -51,7 +51,7 @@ The
|
||||||
function is thread-safe with exceptions.
|
function is thread-safe with exceptions.
|
||||||
It can be safely used in multithreaded applications, as long as
|
It can be safely used in multithreaded applications, as long as
|
||||||
.BR setlocale (3)
|
.BR setlocale (3)
|
||||||
is not called to change the locale.
|
is not called to change the locale during its execution.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
POSIX.1-2001.
|
POSIX.1-2001.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
|
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
|
||||||
.\" ISO/IEC 9899:1999
|
.\" ISO/IEC 9899:1999
|
||||||
.\"
|
.\"
|
||||||
.TH WCTRANS 3 2013-11-04 "GNU" "Linux Programmer's Manual"
|
.TH WCTRANS 3 2014-01-22 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
wctrans \- wide-character translation mapping
|
wctrans \- wide-character translation mapping
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -66,7 +66,7 @@ The
|
||||||
function is thread-safe with exceptions.
|
function is thread-safe with exceptions.
|
||||||
It can be safely used in multithreaded applications, as long as
|
It can be safely used in multithreaded applications, as long as
|
||||||
.BR setlocale (3)
|
.BR setlocale (3)
|
||||||
is not called to change the locale.
|
is not called to change the locale during its execution.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
C99.
|
C99.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
|
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
|
||||||
.\" ISO/IEC 9899:1999
|
.\" ISO/IEC 9899:1999
|
||||||
.\"
|
.\"
|
||||||
.TH WCTYPE 3 2013-11-04 "GNU" "Linux Programmer's Manual"
|
.TH WCTYPE 3 2014-01-22 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
wctype \- wide-character classification
|
wctype \- wide-character classification
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -78,7 +78,7 @@ The
|
||||||
function is thread-safe with exceptions.
|
function is thread-safe with exceptions.
|
||||||
It can be safely used in multithreaded applications, as long as
|
It can be safely used in multithreaded applications, as long as
|
||||||
.BR setlocale (3)
|
.BR setlocale (3)
|
||||||
is not called to change the locale.
|
is not called to change the locale during its execution.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
C99.
|
C99.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
.\" Dinkumware C library reference http://www.dinkumware.com/
|
.\" Dinkumware C library reference http://www.dinkumware.com/
|
||||||
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
|
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
|
||||||
.\"
|
.\"
|
||||||
.TH WCWIDTH 3 2013-11-04 "GNU" "Linux Programmer's Manual"
|
.TH WCWIDTH 3 2014-01-22 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
wcwidth \- determine columns needed for a wide character
|
wcwidth \- determine columns needed for a wide character
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -49,7 +49,7 @@ The
|
||||||
function is thread-safe with exceptions.
|
function is thread-safe with exceptions.
|
||||||
It can be safely used in multithreaded applications, as long as
|
It can be safely used in multithreaded applications, as long as
|
||||||
.BR setlocale (3)
|
.BR setlocale (3)
|
||||||
is not called to change the locale.
|
is not called to change the locale during its execution.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
POSIX.1-2001.
|
POSIX.1-2001.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue