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 FILE_SECBOOT ( PERMITTED );
11 
12 #include <stdint.h>
13 
14 /** Seconds since the Epoch
15  *
16  * We use a 64-bit type to avoid Y2K38 issues, since we may have to
17  * handle distant future dates (e.g. X.509 certificate expiry dates).
18  */
19 typedef int64_t time_t;
20 
21 #endif /* _SYS_TIME_H */
FILE_SECBOOT(PERMITTED)
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:19