set_aumessage_mode(3) — Linux manual page


SET_MESSAGE_MODE(3)     Linux Programmer's Manual    SET_MESSAGE_MODE(3)

NAME         top

       set_message_mode - Sets the message mode

SYNOPSIS         top

       #include <libaudit.h>

       void set_message_mode (message_t mode);

DESCRIPTION         top

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

EXAMPLE         top

       /* Sample code */

SEE ALSO         top

       auditd(8), audit_open(3).

AUTHOR         top

       Debora Velarde.

COLOPHON         top

       This page is part of the audit (Linux Audit) project.
       Information about the project can be found at 
       ⟨⟩.  If you have a bug
       report for this manual page, send it to
       This page was obtained from the project's upstream Git repository
       ⟨⟩ on
       2021-04-01.  (At that time, the date of the most recent commit
       that was found in the repository was 2021-03-29.)  If you
       discover any rendering problems in this HTML version of the page,
       or you believe there is a better or more up-to-date source for
       the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original
       manual page), send a mail to

Linux 2.6                      2004-12-01            SET_MESSAGE_MODE(3)