krb5_errx(3)
NAME
krb5_warn, krb5_warnx, krb5_vwarn, krb5_vwarnx, krb5_err, krb5_errx,
krb5_verr, krb5_verrx, krb5_set_warn_dest -- Heimdal warning and error
functions
LIBRARY
Kerberos 5 Library (libkrb5, -lkrb5)
SYNOPSIS
#include <krb5.h>
krb5_error_code
krb5_err(krb5_context context, int eval, krb5_error_code code,
const char *format, ...);
krb5_error_code
krb5_errx(krb5_context context, int eval, const char *format, ...);
krb5_error_code
krb5_verr(krb5_context context, int eval, krb5_error_code code,
const char *format, va_list ap);
krb5_error_code
krb5_verrx(krb5_context context, int eval, const char *format,
va_list ap);
krb5_error_code
krb5_vwarn(krb5_context context, krb5_error_code code,
const char *format, va_list ap);
krb5_error_code
krb5_vwarnx(krb5_context context, const char *format, va_list ap);
krb5_error_code
krb5_warn(krb5_context context, krb5_error_code code, const char *format,
...);
krb5_error_code
krb5_warnx(krb5_context context, const char *format, ...);
krb5_error_code
krb5_set_warn_dest(krb5_context context, krb5_log_facility *facility);
char *
krb5_get_err_text(krb5_context context, krb5_error_code code);
DESCRIPTION
These functions prints a warning message to some destination. format is
a printf style format specifying the message to print. The forms not end-
ing in an ``x'' prints the error string associated with code along with
the message. The ``err'' functions exits with exit status eval after
printing the message.
The krb5_set_warn_func() function sets the destination for warning mes-
sages to the specified facility. Messages logged with the ``warn'' func-
tions have a log level of 1, while the ``err'' functions logs with level
0.
SPONSORED LINKS
Man(1) output converted with man2html , sed , awk
FreeBSD Man Pages