1 #define CLOCKS_PER_SEC 100
9 #include "sys/stdtypes.h"
13 typedef struct timespec {
19 int tm_sec; /* seconds after the minute [0-60] */
20 int tm_min; /* minutes after the hour [0-59] */
21 int tm_hour; /* hours since midnight [0-23] */
22 int tm_mday; /* day of the month [1-31] */
23 int tm_mon; /* months since January [0-11] */
24 int tm_year; /* years since 1900 */
25 int tm_wday; /* days since Sunday [0-6] */
26 int tm_yday; /* days since January 1 [0-365] */
27 int tm_isdst; /* Daylight Savings Time flag */
28 long tm_gmtoff; /* offset from CUT in seconds */
29 char *unsafe tm_zone; /* timezone abbreviation */
32 char *asctime(struct tm *);
34 char *ctime(const time_t *);
35 double difftime(time_t, time_t);
36 struct tm *gmtime(const time_t *);
37 struct tm *localtime(const time_t *);
38 time_t mktime(struct tm *);
39 size_t strftime(char *, size_t bufsize, const char *, const struct tm *);
40 time_t time(time_t *);