xref: /freebsd/crypto/heimdal/lib/krb5/krb5_timeofday.3 (revision ae83180158c4c937f170e31eff311b18c0286a93)
1.\" $Id: krb5_timeofday.3,v 1.1 2001/07/02 22:32:03 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 SYNOPSIS
9.Fd #include <krb5.h>
10.Ft "krb5_error_code"
11.Fn krb5_timeofday "krb5_context context" "krb5_timestamp *timeret"
12.Ft "krb5_error_code"
13.Fn krb5_us_timeofday "krb5_context context" "int32_t *sec" "int32_t *usec"
14.Sh DESCRIPTION
15.Fn krb5_timeofday
16returns the current time, but adjusted with the time difference
17between the local host and the KDC.
18.Fn krb5_us_timeofday
19also returns microseconds.
20.Pp
21.\".Sh EXAMPLE
22.Sh SEE ALSO
23.Xr gettimeofday 2
24