1SET_MESSAGE_MODE(3)        Linux Programmer's Manual       SET_MESSAGE_MODE(3)
2
3
4

NAME

6       set_message_mode - Sets the message mode
7

SYNOPSIS

9       #include <libaudit.h>
10
11
12       void set_message_mode (message_t mode);
13
14

DESCRIPTION

16       set_message_mode  sets  the  location  where informational messages are
17       sent. If mode=0 (default), then  informational  messages  are  sent  to
18       stderr. If mode=1, then informational messages are sent to syslog.
19
20

EXAMPLE

22       /* Sample code */
23       set_message_mode(MSG_SYSLOG)
24
25
26

SEE ALSO

28       auditd(8), audit_open(3).
29
30

AUTHOR

32       Debora Velarde.
33
34
35
36Linux 2.6                         2004-12-01               SET_MESSAGE_MODE(3)
Impressum