PAM_SYSLOG(3)

  .SH "NAME" pam_syslog, pam_vsyslog - send messages to the system logger
  .SH "SYNOPSIS"

#include <syslog.h>

#include <security/pam_ext.h>

      .HP u void pam_syslog(const pam_handle_t *pamh, int priority, const char *fmt, ...);
      .HP u void pam_vsyslog(const pam_handle_t *pamh, int priority, const char *fmt, va_list args);

  .SH "DESCRIPTION"

    .PP The pam_syslog function logs messages using syslog(3) and is intended for internal use by Linux-PAM and PAM service modules. The priority argument is formed by ORing the facility and the level values as documented in the syslog(3) manual page.
    .PP The pam_vsyslog function performs the same task as pam_syslog() with the difference that it takes a set of arguments which have been obtained using the stdarg(3) variable argument list macros.

  .SH "SEE ALSO"

    .PP pam(8)

  .SH "STANDARDS"

    .PP The pam_syslog and pam_vsyslog functions are Linux-PAM extensions.