A time value with up to nanosecond precision.
More...
#include <time.h>
A time value with up to nanosecond precision.
Definition at line 73 of file time.h.
◆ tv_nsec
| uint32_t timespec::tv_nsec |
Nanoseconds.
Note that POSIX and pre-C23 versions of C specify that this is long, but they require that the values be between 0 and 999,999,999 (inclusive). C23 allows this to be any type capable of representing this range and so we use uint32_t.
Definition at line 85 of file time.h.
◆ tv_sec
Seconds.
Definition at line 76 of file time.h.
The documentation for this struct was generated from the following file: