fix off by 1 error
[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_(
15     char *s,
16     size_t maxs,
17     const char *f,
18     const struct tm *t);
19
20 #if defined(TZNAME_STD) && defined(TZNAME_DST)
21 extern char *tzname_[2];
22 #endif
23
24 #endif                          /* STRFTIME__H */