26 lines
693 B
Groff
26 lines
693 B
Groff
.\" $Id: krb5_timeofday.3,v 1.3 2002/08/28 15:30:57 joda Exp $
|
|
.Dd July 1, 2001
|
|
.Dt KRB5_TIMEOFDAY 3
|
|
.Sh NAME
|
|
.Nm krb5_timeofday ,
|
|
.Nm krb5_us_timeofday
|
|
.Nd whatever these functions do
|
|
.Sh LIBRARY
|
|
Kerberos 5 Library (libkrb5, -lkrb5)
|
|
.Sh SYNOPSIS
|
|
.Fd #include <krb5.h>
|
|
.Ft "krb5_error_code"
|
|
.Fn krb5_timeofday "krb5_context context" "krb5_timestamp *timeret"
|
|
.Ft "krb5_error_code"
|
|
.Fn krb5_us_timeofday "krb5_context context" "int32_t *sec" "int32_t *usec"
|
|
.Sh DESCRIPTION
|
|
.Fn krb5_timeofday
|
|
returns the current time, but adjusted with the time difference
|
|
between the local host and the KDC.
|
|
.Fn krb5_us_timeofday
|
|
also returns microseconds.
|
|
.Pp
|
|
.\".Sh EXAMPLE
|
|
.Sh SEE ALSO
|
|
.Xr gettimeofday 2
|