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