smol-gilbraltar/nolibc/include/sys/time.h

17 lines
284 B
C
Raw Normal View History

2024-12-20 22:45:12 +00:00
#ifndef _SYS_TIME_H
#define _SYS_TIME_H
typedef long time_t;
typedef long suseconds_t;
struct timeval {
time_t tv_sec;
suseconds_t tv_usec;
};
struct timezone {
int tz_minuteswest;
int tz_dsttime;
};
int gettimeofday(struct timeval *tv, struct timezone *tz);
#endif