NAME | SYNOPSIS | DESCRIPTION | EXAMPLE | SEE ALSO | AUTHOR | COLOPHON

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 */
       set_message_mode(MSG_SYSLOG)

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 
       ⟨http://people.redhat.com/sgrubb/audit/⟩.  If you have a bug report
       for this manual page, send it to linux-audit@redhat.com.  This page
       was obtained from the project's upstream Git repository 
       ⟨https://github.com/linux-audit/audit-userspace.git⟩ on 2017-07-05.
       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 man-pages@man7.org
Linux 2.6                        2004-12-01              SET_MESSAGE_MODE(3)