UbixOS V2
2.0
_timeval.h
Go to the documentation of this file.
1
#ifndef _SYS__TIMEVAL_H
2
#define _SYS__TIMEVAL_H
3
4
#include <
sys/_types.h
>
5
6
#ifndef _SUSECONDS_T_DECLARED
7
typedef
__suseconds_t
suseconds_t
;
8
#define _SUSECONDS_T_DECLARED
9
#endif
10
11
#ifndef _TIME_T_DECLARED
12
typedef
__time_t
time_t
;
13
#define _TIME_T_DECLARED
14
#endif
15
16
// Structure returned by gettimeofday(2) system call, and used in other calls.
17
struct
timeval
{
18
time_t
tv_sec
;
/* seconds */
19
suseconds_t
tv_usec
;
/* and microseconds */
20
};
21
22
#endif
/* END _SYS__TIMEVAL_H */
timeval::tv_usec
suseconds_t tv_usec
Definition:
_timeval.h:19
__suseconds_t
long __suseconds_t
Definition:
_types.h:56
_types.h
timeval::tv_sec
time_t tv_sec
Definition:
_timeval.h:18
time_t
__time_t time_t
Definition:
_timespec.h:7
suseconds_t
__suseconds_t suseconds_t
Definition:
_timeval.h:7
timeval
Definition:
_timeval.h:17
__time_t
__int32_t __time_t
Definition:
_types.h:50
time_t
__time_t time_t
Definition:
_timeval.h:12
C:
Dev
git
UbixOS
sys
include
sys
_timeval.h
Generated by
1.8.16