use th OS provided timezone names for %Z this should make things more flexile
[rrdtool.git] / src / strftime.h
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 */
7
8 #ifndef STRFTIME__H
9 #define STRFTIME__H
10
11 #include <stddef.h>     /* for size_t */
12 #include <time.h>       /* for struct tm */
13
14 size_t strftime_(char *s, size_t maxs, const char *f, const struct tm *t);
15
16 #if defined(TZNAME_STD) && defined(TZNAME_DST)
17 extern char * tzname_[2];
18 #endif
19
20 #endif /* STRFTIME__H */