write a record to the log database
cc [flag ...] file ...
-kthread -leels [library] ...
dbWriteRecord writes a record to the log database.
The header specified in the call is a DBRecordHeader_t
structure which contains all of the header information that is
to be logged with the record.
The data parameter specifies the data to be logged with the message.
If there is a large amount of event specific information to be logged
with a record, dbWriteRecord makes repeated internal
calls to the database to add multiple rows with
increasing sequence numbers.
is used to retrieve a row that contains event specific information
in excess of the maximum record size supported by the database,
additional entries with increasing sequence numbers are extracted
from the database. In order to assemble the entire log entry,
all the rows with matching UniqEventIDs should be gathered
in SequenceNumber order.
(Input) A database connection that was returned by a previous call to
(Input) A pointer to a log record header structure
as defined in
(Input) The name of the table that will contain the
(Input) The data that is to be logged with the
(Input) The size of data in bytes.
If successful, dbWriteRecord returns 0.
Otherwise, it returns -1.
An application can call
to obtain the error message returned from the database.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004