14 #ifndef __XLOCALE_H_INCLUDED
15 #define __XLOCALE_H_INCLUDED
24 int snprintf_l(
char *__s,
size_t __n,
locale_t __l,
const char *__format, ...);
25 int asprintf_l(
char **__s,
locale_t __l,
const char *__format, ...);
27 int sscanf_l(
const char *__s,
locale_t __l,
const char *__format, ...);
29 int toupper_l(
int __c,
locale_t __l);
30 int tolower_l(
int __c,
locale_t __l);
32 struct lconv *localeconv(
void);
33 struct lconv *localeconv_l(
locale_t __l);
37 long long strtoll_l(
const char *__nptr,
char **__endptr,
39 return strtoll(__nptr, __endptr, __base);
42 long strtol_l(
const char *__nptr,
char **__endptr,
44 return strtol(__nptr, __endptr, __base);
47 unsigned long long strtoull_l(
const char *__nptr,
char **__endptr,
49 return strtoull(__nptr, __endptr, __base);
52 unsigned long strtoul_l(
const char *__nptr,
char **__endptr,
54 return strtoul(__nptr, __endptr, __base);
57 float strtof_l(
const char *__nptr,
char **__endptr,
59 return strtof(__nptr, __endptr);
62 double strtod_l(
const char *__nptr,
char **__endptr,
64 return strtod(__nptr, __endptr);
67 long double strtold_l(
const char *__nptr,
char **__endptr,
69 return strtold(__nptr, __endptr);