xref: /freebsd/crypto/heimdal/lib/krb5/krb5_timeofday.3 (revision 4b2eaea43fec8e8792be611dea204071a10b655a)
1.\" $Id: krb5_timeofday.3,v 1.3 2002/08/28 15:30:57 joda Exp $
2.Dd July  1, 2001
3.Dt KRB5_TIMEOFDAY 3
4.Sh NAME
5.Nm krb5_timeofday ,
6.Nm krb5_us_timeofday
7.Nd whatever these functions do
8.Sh LIBRARY
9Kerberos 5 Library (libkrb5, -lkrb5)
10.Sh SYNOPSIS
11.Fd #include <krb5.h>
12.Ft "krb5_error_code"
13.Fn krb5_timeofday "krb5_context context" "krb5_timestamp *timeret"
14.Ft "krb5_error_code"
15.Fn krb5_us_timeofday "krb5_context context" "int32_t *sec" "int32_t *usec"
16.Sh DESCRIPTION
17.Fn krb5_timeofday
18returns the current time, but adjusted with the time difference
19between the local host and the KDC.
20.Fn krb5_us_timeofday
21also returns microseconds.
22.Pp
23.\".Sh EXAMPLE
24.Sh SEE ALSO
25.Xr gettimeofday 2
26