summaryrefslogtreecommitdiff
path: root/src/strftime.h
blob: 44da0ea71f9f7b465758ee640ad360923f29d0a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 */