more locale_t interfaces (string stuff) and header updates
[musl] / include / time.h
index 557c8f4..ddfad58 100644 (file)
@@ -23,6 +23,7 @@ extern "C" {
 #define __NEED_clockid_t
 #define __NEED_timer_t
 #define __NEED_pid_t
+#define __NEED_locale_t
 #endif
 
 #include <bits/alltypes.h>
@@ -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 *);