Zephyr API 3.6.99
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
14typedef _TIME_T_ time_t;
15#endif
16
17#if !defined(__suseconds_t_defined)
18#define __suseconds_t_defined
19typedef _SUSECONDS_T_ suseconds_t;
20#endif
21
26
27#endif /* ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_SYS__TIMEVAL_H_ */
_TIME_T_ time_t
Definition _timespec.h:14
_SUSECONDS_T_ suseconds_t
Definition _timespec.h:19
Definition _timeval.h:22
suseconds_t tv_usec
Definition _timeval.h:24
time_t tv_sec
Definition _timeval.h:23