[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

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

krb5_us_timeofday — Retrieves the system time of day (in seconds and microseconds)

 » Table of Contents

 » Glossary

 » Index

C Prototype

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

Arguments

context (input) 

The context structure.

seconds (output) 

The system time of day, in seconds, since the local system’s epoch.

microseconds (output) 

The microseconds portion of the system time of day.

Description

This routine retrieves the system time of day, in seconds, since the local system's epoch.

The seconds portion is returned in *seconds, the microseconds portion in *microseconds.

Return Values

This routine returns the following KRB5 status code:

0Successful completion.