Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: July 2017
 
 

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(5) for descriptions of the following attributes:

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

See Also

acctadm(1M), Intro(3), ea_error(3EXACCT), ea_open(3EXACCT), ea_pack_object(3EXACCT), ea_set_item(3EXACCT), attributes(5)

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.