DOKK / manpages / debian 10 / heimdal-dev / krb5_h_errno_to_heim_errno.3.en
KRB5_EAI_TO_HEIM_ERRNO(3) Library Functions Manual KRB5_EAI_TO_HEIM_ERRNO(3)

krb5_eai_to_heim_errno, krb5_h_errno_to_heim_errnoconvert resolver error code to com_err error codes

Kerberos 5 Library (libkrb5, -lkrb5)

#include <krb5.h>

krb5_error_code
krb5_eai_to_heim_errno(int eai_errno, int system_error);

krb5_error_code
krb5_h_errno_to_heim_errno(int eai_errno);

() and () convert getaddrinfo(3), getnameinfo(3), and h_errno(3) to com_err error code that are used by Heimdal, this is useful for for function returning kerberos errors and needs to communicate failures from resolver function.

krb5(3), kerberos(8)

April 13, 2004 HEIMDAL