aboutsummaryrefslogtreecommitdiffstats
path: root/doc/html/_sources/appdev/refs/types/krb5_timestamp.txt
blob: dc3e9eee79ab0b2a2205a1f0791c74331efef9ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.. highlightlang:: c

.. _krb5-timestamp-struct:

krb5_timestamp
==============

..
.. c:type:: krb5_timestamp
..

Represents a timestamp in seconds since the POSIX epoch.

This 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.

Declaration
------------

typedef krb5_int32 krb5_timestamp