Main index | Section 3 | Options |
#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);
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.
HEIMDAL | KRB5_TIMEOFDAY (3) | Sepember 16, 2006 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | Our grievance is not just against Unix itself, but against the cult of Unix zealots who defend and nurture it. They take the heat, disease, and pestilence as givens, and, as ancient shamans did, display their wounds, some self-inflicted, as proof of their power and wizardry. We aim, through bluntness and humor, to show them that they pray to a tin god, and that science, not religion, is the path to useful and friendly technology. | ” |
— The Unix Haters' handbook |