|
|
|
| Interface status: | externallyDefinedApi |
struct timespec;
The struct timespec structure represents an elapsed time. It is declared in `time.h' Includes the following members,
Defined in timespec:
tv_nsecThis is the rest of the elapsed time (a fraction of a second), represented as th...tv_secThis represents the number of whole seconds of elapsed time. | Interface status: | externallyDefinedApi | Inherited from: timespec |
time_t tv_sec;
This represents the number of whole seconds of elapsed time.
| Interface status: | externallyDefinedApi | Inherited from: timespec |
long tv_nsec;
This is the rest of the elapsed time (a fraction of a second), represented as the number of nanoseconds. It is always less than one billion.