xref: /titanic_52/usr/src/man/man3lib/libexacct.3lib (revision 26f3cdf03f1adcc98f6d3d99843ee71e9229a8c0)
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 "May 22, 2003"
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
Interface Stability Evolving
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 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.