Ubuntu Manpages

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)