diff options
author | Dan Albert <danalbert@google.com> | 2014-07-09 10:09:04 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-07-09 15:41:53 -0700 |
commit | e087eac404b0e30de427392065e2750acf92bd4a (patch) | |
tree | c547e35ffc82ee9afd441d2e3739a87de73103fd /libc/include/stdlib.h | |
parent | 6cdd0cfd2f279dfb20b9f7cccc963eb9ee91c666 (diff) | |
download | android_bionic-e087eac404b0e30de427392065e2750acf92bd4a.tar.gz android_bionic-e087eac404b0e30de427392065e2750acf92bd4a.tar.bz2 android_bionic-e087eac404b0e30de427392065e2750acf92bd4a.zip |
Add locale aware APIs.
Since we only support the C locale, we can just forward all of these to
their non-locale equivalents for correct behavior.
Change-Id: Ib7be71b7f636309c0cc3be1096a4c1f693f04fbb
Diffstat (limited to 'libc/include/stdlib.h')
-rw-r--r-- | libc/include/stdlib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h index 62b7a67b8..0dac6506a 100644 --- a/libc/include/stdlib.h +++ b/libc/include/stdlib.h @@ -75,6 +75,10 @@ extern double strtod(const char*, char**) __LIBC_ABI_PUBLIC__; extern float strtof(const char*, char**) __LIBC_ABI_PUBLIC__; extern long double strtold(const char*, char**) __LIBC_ABI_PUBLIC__; +extern long double strtold_l(const char *, char **, locale_t) __LIBC_ABI_PUBLIC__; +extern long long strtoll_l(const char *, char **, size_t, locale_t) __LIBC_ABI_PUBLIC__; +extern unsigned long long strtoull_l(const char *, char **, size_t, locale_t) __LIBC_ABI_PUBLIC__; + extern int atoi(const char*) __purefunc; extern long atol(const char*) __purefunc; extern long long atoll(const char*) __purefunc; |