Blame time/bits/types/struct_timespec.h
|
Packit Service |
82fcde |
/* NB: Include guard matches what <linux/time.h> uses. */
|
|
Packit Service |
82fcde |
#ifndef _STRUCT_TIMESPEC
|
|
Packit Service |
82fcde |
#define _STRUCT_TIMESPEC 1
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
#include <bits/types.h>
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
/* POSIX.1b structure for a time value. This is like a `struct timeval' but
|
|
Packit Service |
82fcde |
has nanoseconds instead of microseconds. */
|
|
Packit Service |
82fcde |
struct timespec
|
|
Packit Service |
82fcde |
{
|
|
Packit Service |
82fcde |
__time_t tv_sec; /* Seconds. */
|
|
Packit Service |
82fcde |
__syscall_slong_t tv_nsec; /* Nanoseconds. */
|
|
Packit Service |
82fcde |
};
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
#endif
|