HP Open Source Security for OpenVMS Volume 3: Kerberos > Chapter 6 KRB5 (Kerberos V5) Application Programming Interface

krb5_get_time_offsets — Get the time offsets from the os context

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_get_time_offsets (
krb5_context context,
krb5_int32 *seconds,
krb5_int32 *microseconds );

Arguments

context (input/output) 

The context structure.

seconds (output)  

A pointer to os context time_offset.

microseconds (output)  

A pointer to the os context usec_offset.

Description

This routine returns the second and microsecond time offsets from the os context.

Return Values

This routine returns the following KRB5 status code:

0

Successful completion.