summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-11-03 20:13:27 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-11-03 20:13:27 +0000
commit868df46adcf4637aadd773cbe42521ef980370b2 (patch)
tree512d59a1be375a21a8419d604342354886a7a8a7 /libc/sysdeps
parent9333e4142260e5451277a7b50b49b9c636a93b64 (diff)
Implement locale-specific grouping in printf for base 10 integer conversions
when the grouping flag "'" is specified. Grouping for floating point values may wait until I do a rewrite of the floating pt to string code...
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_stdio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_stdio.h b/libc/sysdeps/linux/common/bits/uClibc_stdio.h
index 83c082f75..f6d27142e 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_stdio.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_stdio.h
@@ -463,6 +463,7 @@ extern void __stdio_validate_FILE(FILE *stream);
typedef enum {
__UIM_DECIMAL = 0,
+ __UIM_GROUP = ',', /* Base 10 locale-dependent grouping. */
__UIM_LOWER = 'a' - 10,
__UIM_UPPER = 'A' - 10,
} __UIM_CASE;