time.h
1 /*
2  * Copyright (C) 2014 Freie Universität Berlin, Hinnerk van Bruinehsen
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
9 #pragma once
10 
11 #include <sys/types.h>
12 #include <time.h>
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
22 struct timeval {
23  time_t tv_sec;
24  suseconds_t tv_usec;
25 };
26 
27 #ifdef __cplusplus
28 }
29 #endif
Definition of struct timeval for the atmega.
Definition: time.h:22
suseconds_t tv_usec
microseconds
Definition: time.h:24
time_t tv_sec
seconds
Definition: time.h:23