Zephyr Project API
3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
_timeval.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 Linaro Limited
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_SYS__TIMEVAL_H_
8
#define ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_SYS__TIMEVAL_H_
9
10
#include <
sys/_types.h
>
11
12
#if !defined(__time_t_defined)
13
#define __time_t_defined
14
typedef
_TIME_T_
time_t
;
15
#endif
16
17
#if !defined(__suseconds_t_defined)
18
#define __suseconds_t_defined
19
typedef
_SUSECONDS_T_
suseconds_t
;
20
#endif
21
22
struct
timeval
{
23
time_t
tv_sec
;
24
suseconds_t
tv_usec
;
25
};
26
27
#endif
/* ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_SYS__TIMEVAL_H_ */
time_t
_TIME_T_ time_t
Definition
_timeval.h:14
suseconds_t
_SUSECONDS_T_ suseconds_t
Definition
_timeval.h:19
_types.h
timeval
Definition
_timeval.h:22
timeval::tv_usec
suseconds_t tv_usec
Definition
_timeval.h:24
timeval::tv_sec
time_t tv_sec
Definition
_timeval.h:23
lib
libc
minimal
include
sys
_timeval.h
Generated on Sun Sep 15 2024 17:01:30 for Zephyr Project API by
1.9.8