diff options
Diffstat (limited to 'src/strftime.h')
| -rw-r--r-- | src/strftime.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/strftime.h b/src/strftime.h new file mode 100644 index 0000000..44da0ea --- /dev/null +++ b/src/strftime.h @@ -0,0 +1,18 @@ +/* +** STRFTIME.H - For older compilers which lack strftime() +** +** Note: To avoid name collision with newer compilers, the function name +** strftime_() is used. +*/ + +#ifndef STRFTIME__H +#define STRFTIME__H + +#include <stddef.h> /* for size_t */ +#include <time.h> /* for struct tm */ + +size_t strftime_(char *s, size_t maxs, const char *f, const struct tm *t); + +extern char * tzname_[2]; + +#endif /* STRFTIME__H */ |
