*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> krb5_warn (3)              
Title
Content
Arch
Section
 

KRB5_WARN(3)

Contents


NAME    [Toc]    [Back]

     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    [Toc]    [Back]

     Kerberos 5 Library (libkrb5, -lkrb5)

SYNOPSIS    [Toc]    [Back]

     #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    [Toc]    [Back]

     These functions prints a warning message to some destination.  format is
     a printf style format specifying the message to print. The forms not ending
 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 messages
 to the specified facility.  Messages logged with the ``warn'' functions
 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    [Toc]    [Back]

      
      
     krb5_openlog(3)

HEIMDAL                         August 8, 1997                         HEIMDAL
[ Back ]
 Similar pages
Name OS Title
cr_perror HP-UX print a libcrash error or warning message
krb5_openlog NetBSD Heimdal logging functions
krb5_log OpenBSD Heimdal logging functions
krb5_vlog_msg FreeBSD Heimdal logging functions
krb5_openlog OpenBSD Heimdal logging functions
krb5_log FreeBSD Heimdal logging functions
krb5_vlog FreeBSD Heimdal logging functions
krb5_addlog_dest FreeBSD Heimdal logging functions
krb5_closelog FreeBSD Heimdal logging functions
krb5_initlog FreeBSD Heimdal logging functions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service