#include <evlog.h> int log_seek( const logd_t logdes, log_recid_t log_recid );
A successful call to log_seek()
returns a value of zero
and an unsuccessful call returns the errno
.
logdes
argument is not a valid log file descriptor.
log_recid
argument is not a valid record id.
The log_seek()
function sets the log file offset of the open
log description associated with the logdes
log file descriptor
to the event record in the log file identified by log_recid
.
The log_recid
argument is either the record id of a valid event
record or one of the following values, as defined in the header file
<evlog.h>:
The _POSIX_LOGGING
feature flag is defined to indicate
this service is available.
This implementation can not return EINTR.
This implementation can not return EINVAL to indicate that
the log_recid
argument is not a valid record id.
Copyright © 1988-2004 OAR Corporation