1 /*
2 ** STRFTIME.H - For older compilers which lack strftime()
3 **
4 ** Note: To avoid name collision with newer compilers, the function name
5 ** strftime_() is used.
6 */
8 #ifndef STRFTIME__H
9 #define STRFTIME__H
11 #include <stddef.h> /* for size_t */
12 #include <time.h> /* for struct tm */
14 size_t strftime_(
15 char *s,
16 size_t maxs,
17 const char *f,
18 const struct tm *t);
20 #if defined(TZNAME_STD) && defined(TZNAME_DST)
21 extern char *tzname_[2];
22 #endif
24 #endif /* STRFTIME__H */