diff options
Diffstat (limited to 'REORG.TODO/time/bits/types/struct_timespec.h')
-rw-r--r-- | REORG.TODO/time/bits/types/struct_timespec.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/REORG.TODO/time/bits/types/struct_timespec.h b/REORG.TODO/time/bits/types/struct_timespec.h new file mode 100644 index 0000000000..644db9fdb6 --- /dev/null +++ b/REORG.TODO/time/bits/types/struct_timespec.h @@ -0,0 +1,14 @@ +#ifndef __timespec_defined +#define __timespec_defined 1 + +#include <bits/types.h> + +/* POSIX.1b structure for a time value. This is like a `struct timeval' but + has nanoseconds instead of microseconds. */ +struct timespec +{ + __time_t tv_sec; /* Seconds. */ + __syscall_slong_t tv_nsec; /* Nanoseconds. */ +}; + +#endif |