Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/locale/fix_grouping.c
Show All 29 Lines | |||||
__FBSDID("$FreeBSD$"); | __FBSDID("$FreeBSD$"); | ||||
#include <ctype.h> | #include <ctype.h> | ||||
#include <limits.h> | #include <limits.h> | ||||
#include <stddef.h> | #include <stddef.h> | ||||
static const char nogrouping[] = { '\0' }; | static const char nogrouping[] = { '\0' }; | ||||
const char * __fix_locale_grouping_str(const char *str); | |||||
/* | /* | ||||
* Internal helper used to convert grouping sequences from string | * Internal helper used to convert grouping sequences from string | ||||
* representation into POSIX specified form, i.e. | * representation into POSIX specified form, i.e. | ||||
* | * | ||||
* "3;3;-1" -> "\003\003\177\000" | * "3;3;-1" -> "\003\003\177\000" | ||||
*/ | */ | ||||
const char * | const char * | ||||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |