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

krb5_get_message — Convert an error code into the string representation

  Table of Contents



C Prototype

char * krb5_get_message(
long code );


code (input)  

The Kerberos numeric error code.


This routine is supported on the OpenVMS platform only. It converts a Kerberos numeric error code into the string that describes the error.

Return Values

A pointer to an ASCII string describing the error indicated by code. The storage allocated at this pointer location should not be freed; it is part of an internal table of error messages.