9#ifndef __time_t_defined
10#define __time_t_defined 1
21#ifndef __clock_t_defined
22#define __clock_t_defined 1
27#ifndef __clockid_t_defined
28#define __clockid_t_defined 1
32#ifndef __timer_t_defined
33#define __timer_t_defined 1
37#ifndef __pid_t_defined
38#define __pid_t_defined 1
42#define CLOCKS_PER_SEC 1000000L
46#define CLOCK_REALTIME 0
47#define CLOCK_MONOTONIC 1
48#define CLOCK_PROCESS_CPUTIME_ID 2
49#define CLOCK_THREAD_CPUTIME_ID 3
50#define CLOCK_MONOTONIC_RAW 4
51#define CLOCK_REALTIME_COARSE 5
52#define CLOCK_MONOTONIC_COARSE 6
53#define CLOCK_BOOTTIME 7
56#define TIMER_ABSTIME 1
62# define NULL ((void *)0)
66#ifndef _STRUCT_TIMESPEC
67#define _STRUCT_TIMESPEC 1
75#ifndef _STRUCT_ITIMERSPEC
76#define _STRUCT_ITIMERSPEC 1
84#ifndef __struct_tm_defined
85#define __struct_tm_defined 1
119char *
asctime_r(
const struct tm *timeptr,
char *buf);
122size_t strftime(
char *s,
size_t maxsize,
const char *format,
123 const struct tm *timeptr);
126char *
strptime(
const char *s,
const char *format,
struct tm *
tm);
static const twodig_t base
Definition bigint.cpp:28
#define __ESBMC_C_CPP_END
Definition stddefs.h:9
#define __ESBMC_C_CPP_BEGIN
Definition stddefs.h:8
struct timespec it_interval
Definition time.h:79
struct timespec it_value
Definition time.h:80
long tv_nsec
Definition time.h:71
time_t tv_sec
Definition time.h:70
int tm_mon
Definition time.h:92
const char * tm_zone
Definition time.h:99
int tm_year
Definition time.h:93
int tm_hour
Definition time.h:90
int tm_sec
Definition time.h:88
int tm_isdst
Definition time.h:96
long tm_gmtoff
Definition time.h:98
int tm_yday
Definition time.h:95
int tm_mday
Definition time.h:91
int tm_min
Definition time.h:89
int tm_wday
Definition time.h:94
struct tm * gmtime_r(const time_t *timer, struct tm *buf)
Definition time.c:142
char * asctime(const struct tm *timeptr)
Definition time.c:213
char * ctime_r(const time_t *timer, char *buf)
Definition time.c:274
int timer_settime(timer_t timerid, int flags, const struct itimerspec *new_value, struct itimerspec *old_value)
Definition time.c:491
char * asctime_r(const struct tm *timeptr, char *buf)
Definition time.c:264
int clock_settime(clockid_t clk_id, const struct timespec *tp)
Definition time.c:368
struct tm * localtime_r(const time_t *timer, struct tm *buf)
Definition time.c:132
int clock_nanosleep(clockid_t clk_id, int flags, const struct timespec *request, struct timespec *remain)
Definition time.c:386
char * strptime(const char *s, const char *format, struct tm *tm)
Definition time.c:284
int nanosleep(const struct timespec *req, struct timespec *rem)
Definition time.c:425
int pid_t
Definition time.h:39
time_t timegm(struct tm *timeptr)
Definition time.c:189
char * tzname[2]
Definition time.c:451
double difftime(time_t end, time_t beginning)
Definition time.c:95
void * timer_t
Definition time.h:34
struct tm * localtime(const time_t *timer)
Definition time.c:112
int clock_getres(clockid_t clk_id, struct timespec *res)
Definition time.c:315
long clock_t
Definition time.h:24
struct tm * gmtime(const time_t *timer)
Definition time.c:122
int timer_create(clockid_t clockid, struct sigevent *sevp, timer_t *timerid)
Definition time.c:460
int clockid_t
Definition time.h:29
int timespec_get(struct timespec *ts, int base)
Definition time.c:249
int clock_gettime(clockid_t clk_id, struct timespec *tp)
Definition time.c:341
void tzset(void)
Definition time.c:570
int getdate_err
Definition time.c:454
long time_t
Definition time.h:17
int daylight
Definition time.c:449
size_t strftime(char *s, size_t maxsize, const char *format, const struct tm *timeptr)
Definition time.c:232
int timer_gettime(timer_t timerid, struct itimerspec *curr_value)
Definition time.c:522
int clock_getcpuclockid(pid_t pid, clockid_t *clock_id)
Definition time.c:552
struct tm * getdate(const char *string)
Definition time.c:581
int timer_delete(timer_t timerid)
Definition time.c:483
int timer_getoverrun(timer_t timerid)
Definition time.c:537
clock_t clock(void)
Definition time.c:105
char * ctime(const time_t *timer)
Definition time.c:222
time_t mktime(struct tm *timeptr)
Definition time.c:169