| 1 | /* NB: Include guard matches what <linux/time.h> uses. */ | 
|---|---|
| 2 | #ifndef _STRUCT_TIMESPEC | 
| 3 | #define _STRUCT_TIMESPEC 1 | 
| 4 | |
| 5 | #include <bits/types.h> | 
| 6 | |
| 7 | /* POSIX.1b structure for a time value. This is like a `struct timeval' but | 
| 8 | has nanoseconds instead of microseconds. */ | 
| 9 | struct timespec | 
| 10 | { | 
| 11 | __time_t tv_sec; /* Seconds. */ | 
| 12 | __syscall_slong_t tv_nsec; /* Nanoseconds. */ | 
| 13 | }; | 
| 14 | |
| 15 | #endif | 
| 16 | 
