toaruos/base/usr/include/sys/time.h

16 lines
328 B
C

#pragma once
#include <sys/types.h>
struct timeval {
time_t tv_sec; /* seconds */
suseconds_t tv_usec; /* microseconds */
};
struct timezone {
int tz_minuteswest; /* minutes west of Greenwich */
int tz_dsttime; /* type of DST correction */
};
extern int gettimeofday(struct timeval *p, void *z);