1PAM_SYSLOG(3) Linux-PAM Manual PAM_SYSLOG(3)
2
3
4
6 pam_syslog, pam_vsyslog - send messages to the system logger
7
9 #include <syslog.h>
10
11 #include <security/pam_ext.h>
12
13 void pam_syslog(pam_handle_t *pamh, int priority, const char *fmt,
14 ...);
15
16 void pam_vsyslog(pam_handle_t *pamh, int priority, const char *fmt,
17 va_list args);
18
20 The pam_syslog function logs messages using syslog(3) and is intended
21 for internal use by Linux-PAM and PAM service modules. The priority
22 argument is formed by ORing the facility and the level values as
23 documented in the syslog(3) manual page.
24
25 The pam_vsyslog function performs the same task as pam_syslog() with
26 the difference that it takes a set of arguments which have been
27 obtained using the stdarg(3) variable argument list macros.
28
30 pam(8)
31
33 The pam_syslog and pam_vsyslog functions are Linux-PAM extensions.
34
35
36
37Linux-PAM Manual 06/27/2006 PAM_SYSLOG(3)