xref: /freebsd/crypto/krb5/doc/html/_sources/appdev/refs/types/krb5_timestamp.rst.txt (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1.. highlight:: c
2
3.. _krb5-timestamp-struct:
4
5krb5_timestamp
6==============
7
8..
9.. c:type:: krb5_timestamp
10..
11
12Represents a timestamp in seconds since the POSIX epoch.
13
14This legacy type is used frequently in the ABI, but cannot represent timestamps after 2038 as a positive number. Code which uses this type should cast values of it to uint32_t so that negative values are treated as timestamps between 2038 and 2106 on platforms with 64-bit time_t.
15
16Declaration
17------------
18
19typedef krb5_int32 krb5_timestamp
20
21
22