time.h
1 /*
2  * SPDX-FileCopyrightText: 2014 Freie Universität Berlin, Hinnerk van Bruinehsen
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
8 #include <sys/types.h>
9 #include <time.h>
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
19 struct timeval {
20  time_t tv_sec;
21  suseconds_t tv_usec;
22 };
23 
24 #ifdef __cplusplus
25 }
26 #endif
Definition of struct timeval for the atmega.
Definition: time.h:19
suseconds_t tv_usec
microseconds
Definition: time.h:21
time_t tv_sec
seconds
Definition: time.h:20