Initial import from FreeBSD RELENG_4:
[dragonfly.git] / crypto / heimdal / lib / krb5 / krb5_timeofday.3
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
9 Kerberos 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
18 returns the current time, but adjusted with the time difference
19 between the local host and the KDC.
20 .Fn krb5_us_timeofday
21 also returns microseconds.
22 .Pp
23 .\".Sh EXAMPLE
24 .Sh SEE ALSO
25 .Xr gettimeofday 2