Extended Accounting File Access Library Functions
eaerror(3EXACT)
NAME
eaerror - error interface to extended accounting library
SYNOPSIS
cc [ flag... ] file... -lexacct [ library ... ]
#include
int eaerror(void);
DESCRIPTION
The eaerror() function returns the error value of the last
failure recorded by the invocation of one of the functions
of the extended accounting library, libexacct.
RETURN VALUES
EXRCORUPTFILE A function failed because the file was
not a valid exacct file.
EXREOF A function detected the end of the file,
either when reading forwards or back-
wards through the file.
EXRINVALIDBUF When unpacking an object, an invalid
unpack buffer was specified.
EXRINVALIDOBJ The object type passed to the function
is not valid for the requested opera-
tion, for example passing a group object
to easetitem(3EXACT).
EXRNOCREATOR When creating a new file no creator was
specified, or when opening a file for
reading the creator value did not match
the value in the file.
EXRNOTSUP An unsupported type of access was
attempted, for example attempting to
write to a file that was opened read-
only.
EXROK The function completed successfully.
SunOS 5.11 Last change: 29 Nov 2001 1
Extended Accounting File Access Library Functions
eaerror(3EXACT)
EXRSYSCALFAIL A system call invoked by the function
failed. The errno variable contains
the error value set by the underlying
call.
EXRUNKNVERSION The file referred to by name uses an
exacct file version that cannot be pro-
cessed by this library.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Evolving
MT-Level MT-Safe
SEE ALSO
read(2), libexacct(3LIB), attributes(5)
SunOS 5.11 Last change: 29 Nov 2001 2
Extended Accounting File Access Library Functions
eaerror(3EXACT)
SunOS 5.11 Last change: 29 Nov 2001 3
|