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
9FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
10FILE_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 */
20
21#endif /* _SYS_TIME_H */
signed long long int64_t
Definition stdint.h:18
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
int64_t time_t
Seconds since the Epoch.
Definition time.h:19