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 #ifndef SYS_TIME_H
10 #define SYS_TIME_H
11 
12 #include <sys/types.h>
13 #include <time.h>
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
23 struct timeval {
24  time_t tv_sec;
25  suseconds_t tv_usec;
26 };
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 
32 #endif /* SYS_TIME_H */
timeval::tv_usec
suseconds_t tv_usec
microseconds
Definition: time.h:25
timeval::tv_sec
time_t tv_sec
seconds
Definition: time.h:24
timeval
Definition of struct timeval for the atmega.
Definition: time.h:23