diff options
| author | beatrice <beatrice@dangofactory.net> | 2026-11-22 20:00:14 +0900 |
|---|---|---|
| committer | beatrice <beatrice@dangofactory.net> | 2026-11-22 20:00:14 +0900 |
| commit | 8f68d02045982da8f00a559835b500caf3a1967d (patch) | |
| tree | c8d0e92969b92e1b6559a0e032b6aa710a8ae2d9 /src/strftime.h | |
| parent | bb5ff95073e5001be7dbf58ffce80d7926deff0b (diff) | |
| download | mrtg-master.tar.gz mrtg-master.zip | |
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 */ |
