Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

libexacct(3LIB)

Name

libexacct - extended accounting file access library

Synopsis

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

Description

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.

INTERFACES

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

Files

/usr/lib/libexacct.so.1

shared object

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

64-bit shared object

Attributes

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library
Interface Stability
Committed
MT-Level
MT-Safe

See Also

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

Notes

The source/demo/system package provides 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.