1 .\" Copyright (c) 1997 Kungliga Tekniska Högskolan
2 .\" $Id: krb5_warn.3,v 1.5 2002/08/28 15:30:59 joda 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 These functions prints a warning message to some destination.
42 is a printf style format specifying the message to print. The forms not ending in an
44 prints the error string associated with
46 along with the message.
49 functions exits with exit status
51 after printing the message.
54 .Fn krb5_set_warn_func
55 function sets the destination for warning messages to the specified
57 Messages logged with the
59 functions have a log level of 1, while the
61 functions logs with level 0.