2 .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved.
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH LIBEXACCT 3LIB "May 22, 2003"
8 libexacct \- extended accounting file access library
12 cc [ \fIflag\fR... ] \fIfile\fR... \fB-lexacct\fR [ \fIlibrary\fR... ]
13 #include <\fBexacct.h\fR>
19 Functions in this library define the interface for reading and writing extended
20 accounting (\fBexacct\fR) files. The <\fBexacct.h\fR> header provides type and
21 function declarations for all library services, as well as for the
22 characteristics of accounting files generated by the Solaris kernel.
26 The shared object \fBlibexacct.so.1\fR provides the public interfaces defined
27 below. See \fBIntro\fR(3) for additional information on shared object
35 \fBea_alloc\fR \fBea_attach_to_group\fR
36 \fBea_attach_to_object\fR \fBea_close\fR
37 \fBea_copy_object\fR \fBea_copy_object_tree\fR
38 \fBea_error\fR \fBea_free\fR
39 \fBea_free_item\fR \fBea_free_object\fR
40 \fBea_get_creator\fR \fBea_get_hostname\fR
41 \fBea_get_object\fR \fBea_get_object_tree\fR
42 \fBea_match_object_catalog\fR \fBea_next_object\fR
43 \fBea_open\fR \fBea_pack_object\fR
44 \fBea_previous_object\fR \fBea_set_group\fR
45 \fBea_set_item\fR \fBea_strdup\fR
46 \fBea_strfree\fR \fBea_unpack_object\fR
54 \fB\fB/usr/lib/libexacct.so.1\fR \fR
64 \fB\fB/usr/lib/64/libexacct.so.1\fR \fR
74 See \fBattributes\fR(5) for descriptions of the following attributes:
82 ATTRIBUTE TYPE ATTRIBUTE VALUE
84 Interface Stability Evolving
92 \fBacctadm\fR(1M), \fBIntro\fR(3), \fBea_error\fR(3EXACCT),
93 \fBea_open\fR(3EXACCT), \fBea_pack_object\fR(3EXACCT),
94 \fBea_set_item\fR(3EXACCT), \fBattributes\fR(5)
98 The SUNWosdem package provides source code for the \fBexdump\fR utility that
99 uses the \fBlibexacct\fR APIs to dump the contents of extended accounting
100 files. The source code can be compiled in the directory
101 \fB/usr/demo/libexacct\fR.