KRB5_TIMEOFDAY - Online Linux Manual PageSection : 3
Updated : September 16, 2006
Operating system : HEIMDAL
NAME krb5_timeofday, krb5_set_real_time, krb5_us_timeofday, krb5_format_time, krb5_string_to_deltat — Kerberos 5 time handling functions
LIBRARYKerberos 5 Library (libkrb5, -lkrb5)
SYNOPSIS #include <krb5.h>
krb5_timestamp; krb5_deltat; krb5_error_code krb5_set_real_time ( krb5_context context , krb5_timestamp sec , int32_t usec );
krb5_error_code krb5_timeofday ( krb5_context context , krb5_timestamp *timeret );
krb5_error_code krb5_us_timeofday ( krb5_context context , krb5_timestamp *sec , int32_t *usec );
krb5_error_code krb5_format_time ( krb5_context context , time_t t , char *s , size_t len , krb5_boolean include_time );
krb5_error_code krb5_string_to_deltat ( const char *string , krb5_deltat *deltat );
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 ALSOgettimeofday(2), krb5(3) 0
Johanes Gumabo
Data Size : 6,808 byte
man-krb5_us_timeofday.3Build : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 4 / 256,981
Visitor ID : :
Visitor IP : 3.145.107.223 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.