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

krb5_deltat_to_string — Convert a Kerberos relative time value to a string

  Table of Contents

  Glossary

  Index

C Prototype

krb5_error_code krb5_deltat_to_string (
krb5_deltat deltat,
char *buffer,
size_t buflen );

Arguments

deltat (input) 

The relative time value to convert.

buffer (output)  

A pointer to a buffer to hold the time string.

buflen (input)  

The maximum length of the string that will fit in buffer.

Description

This routine converts a Kerberos relative time value into the corresponding string.

Return Values

This routine returns the following KRB5 status codes:

0

Successful completion.

ENOMEM

Insufficient memory.