1 .\" Copyright (c) 1997 Kungliga Tekniska Högskolan
2 .\" $Id: krb5_warn.3,v 1.7 2003/04/16 19:31:49 lha Exp $
15 .Nm krb5_set_warn_dest
16 .Nd Heimdal warning and error functions
18 Kerberos 5 Library (libkrb5, -lkrb5)
22 .Fn krb5_err "krb5_context context" "int eval" "krb5_error_code code" "const char *format" "..."
24 .Fn krb5_errx "krb5_context context" "int eval" "const char *format" "..."
26 .Fn krb5_verr "krb5_context context" "int eval" "krb5_error_code code" "const char *format" "va_list ap"
28 .Fn krb5_verrx "krb5_context context" "int eval" "const char *format" "va_list ap"
30 .Fn krb5_vwarn "krb5_context context" "krb5_error_code code" "const char *format" "va_list ap"
32 .Fn krb5_vwarnx "krb5_context context" "const char *format" "va_list ap"
34 .Fn krb5_warn "krb5_context context" "krb5_error_code code" "const char *format" "..."
36 .Fn krb5_warnx "krb5_context context" "const char *format" "..."
38 .Fn krb5_set_warn_dest "krb5_context context" "krb5_log_facility *facility"
40 .Fn krb5_get_err_text "krb5_context context" "krb5_error_code code"
42 These functions prints a warning message to some destination.
44 is a printf style format specifying the message to print. The forms not ending in an
46 prints the error string associated with
48 along with the message.
51 functions exits with exit status
53 after printing the message.
56 .Fn krb5_set_warn_func
57 function sets the destination for warning messages to the specified
59 Messages logged with the
61 functions have a log level of 1, while the
63 functions logs with level 0.
66 fetches the human readable strings describing the error-code.