GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  KRB5_STRING_TO_DELTAT (3)

NAME

krb5_timeofday, krb5_set_real_time, krb5_us_timeofday, krb5_format_time, krb5_string_to_deltat - Kerberos 5 time handling functions

CONTENTS

Library
Synopsis
Description
See Also

LIBRARY

Kerberos 5 Library (libkrb5, -lkrb5)

SYNOPSIS


.In krb5.h

krb5_timestamp;

krb5_deltat; krb5_error_code
.Fo krb5_set_real_time krb5_context context krb5_timestamp sec int32_t usec
.Fc krb5_error_code
.Fo krb5_timeofday krb5_context context krb5_timestamp *timeret
.Fc krb5_error_code
.Fo krb5_us_timeofday krb5_context context krb5_timestamp *sec int32_t *usec
.Fc krb5_error_code
.Fo krb5_format_time krb5_context context time_t t char *s size_t len krb5_boolean include_time
.Fc krb5_error_code
.Fo krb5_string_to_deltat const char *string krb5_deltat *deltat
.Fc

DESCRIPTION

krb5_set_real_time sets the absolute time that the caller knows the KDC has. With this the Kerberos library can calculate the relative difference between the KDC time and the local system time and store it in the context. With this information the Kerberos library can adjust all time stamps in Kerberos packages.

krb5_timeofday returns the current time, but adjusted with the time difference between the local host and the KDC. krb5_us_timeofday also returns microseconds.

krb5_format_time formats the time t into the string s of length len. If include_time is set, the time is set include_time.

krb5_string_to_deltat parses delta time string into deltat.

SEE ALSO

gettimeofday(2), krb5(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.