DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

/usr/man/cat.3/krb5_set_warn_dest.3.Z(/usr/man/cat.3/krb5_set_warn_dest.3.Z)





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.

     krb5_get_err_text() fetches the human readable strings describing the
     error-code.


SEE ALSO

     krb5_openlog(3)

HEIMDAL                         August 8, 1997                         HEIMDAL
See also krb5_err(3):  man 3 krb5_err
See also krb5_errx(3):  man 3 krb5_errx
See also krb5_verr(3):  man 3 krb5_verr
See also krb5_verrx(3):  man 3 krb5_verrx
See also krb5_vwarn(3):  man 3 krb5_vwarn
See also krb5_vwarnx(3):  man 3 krb5_vwarnx
See also krb5_warn(3):  man 3 krb5_warn
See also krb5_warnx(3):  man 3 krb5_warnx

Man(1) output converted with man2html