1libexacct(3LIB) Interface Libraries libexacct(3LIB)
2
3
4
6 libexacct - extended accounting file access library
7
9 cc [ flag... ] file... -lexacct [ library... ]
10 #include <exacct.h>
11
12
14 Functions in this library define the interface for reading and writing
15 extended accounting (exacct) files. The <exacct.h> header provides type
16 and function declarations for all library services, as well as for the
17 characteristics of accounting files generated by the Solaris kernel.
18
20 The shared object libexacct.so.1 provides the public interfaces defined
21 below. See Intro(3) for additional information on shared object inter‐
22 faces.
23
24
25
26
27 ea_alloc ea_attach_to_group
28 ea_attach_to_object ea_close
29 ea_copy_object ea_copy_object_tree
30 ea_error ea_free
31 ea_free_item ea_free_object
32 ea_get_creator ea_get_hostname
33 ea_get_object ea_get_object_tree
34 ea_match_object_catalog ea_next_object
35 ea_open ea_pack_object
36 ea_previous_object ea_set_group
37 ea_set_item ea_strdup
38 ea_strfree ea_unpack_object
39 ea_write_object
40
41
43 /usr/lib/libexacct.so.1
44
45 shared object
46
47
48 /usr/lib/64/libexacct.so.1
49
50 64-bit shared object
51
52
54 See attributes(5) for descriptions of the following attributes:
55
56
57
58
59 ┌─────────────────────────────┬─────────────────────────────┐
60 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
61 ├─────────────────────────────┼─────────────────────────────┤
62 │Availability │SUNWcsl (32-bit) │
63 ├─────────────────────────────┼─────────────────────────────┤
64 │ │SUNWcslx (64-bit) │
65 ├─────────────────────────────┼─────────────────────────────┤
66 │Interface Stability │Evolving │
67 ├─────────────────────────────┼─────────────────────────────┤
68 │MT-Level │MT-Safe │
69 └─────────────────────────────┴─────────────────────────────┘
70
72 acctadm(1M), Intro(3), ea_error(3EXACCT), ea_open(3EXACCT),
73 ea_pack_object(3EXACCT), ea_set_item(3EXACCT), attributes(5)
74
76 The SUNWosdem package provides source code for the exdump utility that
77 uses the libexacct APIs to dump the contents of extended accounting
78 files. The source code can be compiled in the directory
79 /usr/demo/libexacct.
80
81
82
83SunOS 5.11 22 May 2003 libexacct(3LIB)