Trusted Solaris Developer's Guide

Declaration and Argument Types

The auditwrite(3TSOL) routine generates and logs third-party audit events.

int auditwrite(..., AW_END);

This library routine takes a variable number of arguments of the following three kinds. Refer to the auditwrite(3TSOL) man page for a complete listing of argument commands and their meaning. The code examples in this chapter use many of the possible argument commands.