From 36bf56940af90baa478dd1258884291d5d213d10 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 6 Feb 2012 21:51:02 -0500 Subject: more locale_t interfaces (string stuff) and header updates this should be everything except for some functions where the non-_l version isn't even implemented yet (mainly some non-ISO-C wcs* functions). --- include/time.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/time.h') diff --git a/include/time.h b/include/time.h index 557c8f4b..ddfad58f 100644 --- a/include/time.h +++ b/include/time.h @@ -23,6 +23,7 @@ extern "C" { #define __NEED_clockid_t #define __NEED_timer_t #define __NEED_pid_t +#define __NEED_locale_t #endif #include @@ -58,6 +59,8 @@ char *ctime (const time_t *); #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) +size_t strftime_l (char *, size_t, const char *, const struct tm *, locale_t); + struct tm *gmtime_r (const time_t *, struct tm *); struct tm *localtime_r (const time_t *, struct tm *); char *asctime_r (const struct tm *, char *); -- cgit v1.2.1