skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_unparse_name_ext  Convert multiple protocol format principal names to string format krb5_unparse_name_ext Convert multiple protocol format principal...
go to next page: krb5_verify_init_creds  Verify initial credentialskrb5_verify_init_creds Verify initial credentials
end of book navigation links

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



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:

0
Successful completion.


go to previous page: krb5_unparse_name_ext  Convert multiple protocol format principal names to string format krb5_unparse_name_ext Convert multiple protocol format principal...
go to next page: krb5_verify_init_creds  Verify initial credentialskrb5_verify_init_creds Verify initial credentials