libexacct.3lib revision c10c16dec587a0662068f6e2991c29ed3a9db943
te
Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
libexacct 3LIB "22 May 2003" "SunOS 5.11" "Interface Libraries"
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_allocea_attach_to_group
ea_attach_to_objectea_close
ea_copy_objectea_copy_object_tree
ea_errorea_free
ea_free_itemea_free_object
ea_get_creatorea_get_hostname
ea_get_objectea_get_object_tree
ea_match_object_catalogea_next_object
ea_openea_pack_object
ea_previous_objectea_set_group
ea_set_itemea_strdup
ea_strfreeea_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 TYPEATTRIBUTE VALUE
Interface StabilityEvolving
MT-LevelMT-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 SUNWosdem 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.