LIBEXACCT(3LIB) Interface Libraries LIBEXACCT(3LIB)

libexacct - extended accounting file access library

cc [ flag... ] file... -lexacct [ library... ]
#include <exacct.h>

Functions in this library define the interface for reading and writing extended accounting (exacct) files. The <exacct.h> header provides type and function declarations for all library services, as well as for the characteristics of accounting files generated by the Solaris kernel.

The shared object libexacct.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

ea_alloc ea_attach_to_group
ea_attach_to_object ea_close
ea_copy_object ea_copy_object_tree
ea_error ea_free
ea_free_item ea_free_object
ea_get_creator ea_get_hostname
ea_get_object ea_get_object_tree
ea_match_object_catalog ea_next_object
ea_open ea_pack_object
ea_previous_object ea_set_group
ea_set_item ea_strdup
ea_strfree ea_unpack_object
ea_write_object

/usr/lib/libexacct.so.1

shared object

/usr/lib/64/libexacct.so.1

64-bit shared object

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Evolving
MT-Level MT-Safe

Intro(3), ea_error(3EXACCT), ea_open(3EXACCT), ea_pack_object(3EXACCT), ea_set_item(3EXACCT), attributes(7), acctadm(8)

Distributions may provide source code for the exdump utility that uses the libexacct APIs to dump the contents of extended accounting files. The source code can be compiled in the directory /usr/demo/libexacct.

May 13, 2017 OmniOS