UbixOS  2.0
_timespec.h
Go to the documentation of this file.
1 #ifndef _SYS__TIMESPEC_H
2 #define _SYS__TIMESPEC_H
3 
4 #include <sys/_types.h>
5 
6 #ifndef _TIME_T_DECLARED
7 typedef __time_t time_t;
8 #define _TIME_T_DECLARED
9 #endif
10 
11 struct timespec {
12  time_t tv_sec; /* seconds */
13  long tv_nsec; /* and nanoseconds */
14 };
15 
16 #endif /* END _SYS__TIMESPEC_H */
17 
timespec::tv_nsec
long tv_nsec
Definition: _timespec.h:13
timespec::tv_sec
time_t tv_sec
Definition: _timespec.h:12
_types.h
time_t
__time_t time_t
Definition: _timespec.h:7
__time_t
__int32_t __time_t
Definition: _types.h:50
timespec
Definition: _timespec.h:11