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
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/time.h>
|
||||
#include <xlocale.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
@@ -75,6 +76,7 @@ extern struct tm* gmtime_r(const time_t*, struct tm*) __LIBC_ABI_PUBLIC__;
|
||||
|
||||
extern char* strptime(const char*, const char*, struct tm*) __LIBC_ABI_PUBLIC__;
|
||||
extern size_t strftime(char*, size_t, const char*, const struct tm*) __LIBC_ABI_PUBLIC__;
|
||||
extern size_t strftime_l(char *, size_t, const char *, const struct tm *, locale_t) __LIBC_ABI_PUBLIC__;
|
||||
|
||||
extern char* ctime(const time_t*) __LIBC_ABI_PUBLIC__;
|
||||
extern char* ctime_r(const time_t*, char*) __LIBC_ABI_PUBLIC__;
|
||||
|
Reference in New Issue
Block a user