vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

time.h (381B)


      1 #ifndef _SYS_TIME_H
      2 #define _SYS_TIME_H
      3 
      4 #include <sys/types.h>
      5 
      6 struct timeval {
      7 	time_t		tv_sec;		// Seconds
      8 	suseconds_t	tv_usec;	// Microseconds
      9 };
     10 
     11 struct itimerval {
     12 	struct timeval	it_interval;	// Timer interval
     13 	struct timeval	it_value;	// Current value
     14 };
     15 struct timezone;
     16 
     17 int gettimeofday(struct timeval *__restrict, struct timezone *__restrict);
     18 
     19 #endif	// _SYS_TIME_H