iPXE
time.h
Go to the documentation of this file.
1 #ifndef _SYS_TIME_H
2 #define _SYS_TIME_H
3 
4 /** @file
5  *
6  * Date and time
7  */
8 
9 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
10 
11 #include <stdint.h>
12 
13 /** Seconds since the Epoch
14  *
15  * We use a 64-bit type to avoid Y2K38 issues, since we may have to
16  * handle distant future dates (e.g. X.509 certificate expiry dates).
17  */
18 typedef int64_t time_t;
19 
20 #endif /* _SYS_TIME_H */
signed long long int64_t
Definition: stdint.h:18
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
int64_t time_t
Seconds since the Epoch.
Definition: time.h:18