Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2003-10-20 22:46:38 +0400
committerJeff Johnston <jjohnstn@redhat.com>2003-10-20 22:46:38 +0400
commit76a7df5256c9873b853f8d48247b7140b2d6d670 (patch)
treeeda0f3cbbc3352a884b59243a9ff6d21ac258cb2 /newlib/libc/locale
parentd775e6b7aeb570dd8d8624299c5d551bdefa9416 (diff)
2003-10-20 Bob Wilson <bob.wilson@acm.org>
* libc/locale/locale.c: Use double quotes in code. * libc/locale/locale.tex: Likewise. * libc/libc.texinfo: Hyphenate "floating-point". * libc/machine/necv70/necv70.tex: Likewise. * libc/stdio/sprintf.c: Likewise. * libc/stdio/sscanf.c: Likewise. * libc/stdlib/atof.c: Likewise. * libc/stdlib/ldtoa.c: Fix comment typo. * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo. * libc/stdlib/ldiv.c: Likewise. * libm/common/s_expm1.c: Likewise. * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero". * libm/common/s_infinity: Hyphenate "double- and single-precision". * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary. * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision" and "floating-point". * libm/common/s_scalbn.c: Correct the FUNCTION summary. * libm/math/e_pow.c: Fix comment typo. * libm/math/math.tex: Hyphenate "single-precision" and "floating-point". * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo. * libm/math/s_atan.c: Likewise. * libm/math/s_frexp.c: Likewise. Also use "nonzero". * libm/math/s_isnan.c: Hyphenate "single-precision" and "floating-point". Use "nonzero". * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo. * libm/math/w_acos.c: Likewise. * libm/math/w_acosh.c: Likewise. * libm/math/w_asin.c: Likewise. * libm/math/w_atan2.c: Likewise. * libm/math/w_atanh.c: Likewise. * libm/math/w_cosh.c: Likewise. * libm/math/w_exp.c: Likewise. * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex version of 2^x in the description. * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo. * libm/math/w_gamma.c: Likewise. * libm/math/w_hypot.c: Likewise. * libm/math/w_j0.c: Likewise. * libm/math/w_sinh.c: Likewise. * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent". * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and "floating-point". * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo. * libm/mathfp/e_atanh.c: Likewise. * libm/mathfp/e_hypot.c: Likewise. * libm/mathfp/er_lgamma.c: Likewise. * libm/mathfp/s_acos.c: Likewise. * libm/mathfp/s_asine.c: Likewise. * libm/mathfp/s_asinh.c: Likewise. * libm/mathfp/s_atan.c: Likewise. * libm/mathfp/s_atan2.c: Likewise. * libm/mathfp/s_atangent.c: Likewise. * libm/mathfp/s_cosh.c: Likewise. * libm/mathfp/s_exp.c: Likewise. * libm/mathfp/s_fmod.c: Likewise. * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero". * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and "floating-point". Use "nonzero". * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent". * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo. * libm/mathfp/s_sineh.c: Likewise. * libm/mathfp/w_jn.c: Likewise.
Diffstat (limited to 'newlib/libc/locale')
-rw-r--r--newlib/libc/locale/locale.c12
-rw-r--r--newlib/libc/locale/locale.tex26
2 files changed, 19 insertions, 19 deletions
diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c
index 772f150fc..66c93d740 100644
--- a/newlib/libc/locale/locale.c
+++ b/newlib/libc/locale/locale.c
@@ -42,17 +42,17 @@ execution environment for international collating and formatting
information; <<localeconv>> reports on the settings of the current
locale.
-This is a minimal implementation, supporting only the required <<``C''>>
+This is a minimal implementation, supporting only the required <<"C">>
value for <[locale]>; strings representing other locales are not
honored unless MB_CAPABLE is defined in which case three new
-extensions are allowed for LC_CTYPE or LC_MESSAGES only: <<''C-JIS''>>,
-<<''C-EUCJP''>>, <<''C-SJIS''>>, or <<''C-ISO-8859-1''>>. (<<``''>> is
+extensions are allowed for LC_CTYPE or LC_MESSAGES only: <<"C-JIS">>,
+<<"C-EUCJP">>, <<"C-SJIS">>, or <<"C-ISO-8859-1">>. (<<"">> is
also accepted; it represents the default locale
-for an implementation, here equivalent to <<``C''>>.)
+for an implementation, here equivalent to <<"C">>.)
If you use <<NULL>> as the <[locale]> argument, <<setlocale>> returns
a pointer to the string representing the current locale (always
-<<``C''>> in this implementation). The acceptable values for
+<<"C">> in this implementation). The acceptable values for
<[category]> are defined in `<<locale.h>>' as macros beginning with
<<"LC_">>, but this implementation does not check the values you pass
in the <[category]> argument.
@@ -67,7 +67,7 @@ in effect.
RETURNS
<<setlocale>> returns either a pointer to a string naming the locale
-currently in effect (always <<``C''>> for this implementation, or, if
+currently in effect (always <<"C">> for this implementation, or, if
the locale request cannot be honored, <<NULL>>.
<<localeconv>> returns a pointer to a structure of type <<lconv>>,
diff --git a/newlib/libc/locale/locale.tex b/newlib/libc/locale/locale.tex
index 7958a98a2..20dc5d2bc 100644
--- a/newlib/libc/locale/locale.tex
+++ b/newlib/libc/locale/locale.tex
@@ -6,10 +6,10 @@ collating sequences and formatting conventions) that may be different
depending on location or culture. The @code{"C"} locale is the only
one defined in the ANSI C standard.
-This is a minimal implementation, supporting only the required @code{``C''}
+This is a minimal implementation, supporting only the required @code{"C"}
value for locale; strings representing other locales are not
-honored. (@code{``''} is also accepted; it represents the default locale
-for an implementation, here equivalent to @code{``C''}.
+honored. (@code{""} is also accepted; it represents the default locale
+for an implementation, here equivalent to @code{"C"}.
@file{locale.h} defines the structure @code{lconv} to collect the
@@ -18,13 +18,13 @@ information on a locale, with the following fields:
@table @code
@item char *decimal_point
The decimal point character used to format ``ordinary'' numbers (all
-numbers except those referring to amounts of money). @code{``.''} in the
+numbers except those referring to amounts of money). @code{"."} in the
C locale.
@item char *thousands_sep
The character (if any) used to separate groups of digits, when
formatting ordinary numbers.
-@code{``''} in the C locale.
+@code{""} in the C locale.
@item char *grouping
Specifications for how many digits to group (if any grouping is done at
@@ -33,36 +33,36 @@ character in the string represents the number of digits for the next
group, and a value of @code{0} (that is, the string's trailing
@code{NULL}) means to continue grouping digits using the last value
specified. Use @code{CHAR_MAX} to indicate that no further grouping is
-desired. @code{``''} in the C locale.
+desired. @code{""} in the C locale.
@item char *int_curr_symbol
The international currency symbol (first three characters), if any, and
the character used to separate it from numbers.
-@code{``''} in the C locale.
+@code{""} in the C locale.
@item char *currency_symbol
The local currency symbol, if any.
-@code{``''} in the C locale.
+@code{""} in the C locale.
@item char *mon_decimal_point
The symbol used to delimit fractions in amounts of money.
-@code{``''} in the C locale.
+@code{""} in the C locale.
@item char *mon_thousands_sep
Similar to @code{thousands_sep}, but used for amounts of money.
-@code{``''} in the C locale.
+@code{""} in the C locale.
@item char *mon_grouping
Similar to @code{grouping}, but used for amounts of money.
-@code{``''} in the C locale.
+@code{""} in the C locale.
@item char *positive_sign
A string to flag positive amounts of money when formatting.
-@code{``''} in the C locale.
+@code{""} in the C locale.
@item char *negative_sign
A string to flag negative amounts of money when formatting.
-@code{``''} in the C locale.
+@code{""} in the C locale.
@item char int_frac_digits
The number of digits to display when formatting amounts of money to