EvmEventRead(3) Library Functions Manual EvmEventRead(3)NAME
EvmEventRead(), EvmEventWrite() - perform I/O of EVM events to and from a file
SYNOPSIS
Library
EVM Support Library
Parameters
event For the return operand created for the event read. For the event to be written.
fd The file descriptor to which the event is written, or from which it is read.
DESCRIPTION
The routine creates a new event structure and populates it with an event read from the supplied file descriptor
The routine must be used to destroy the new event when it is no longer needed.
The routine writes the supplied event to the specified file descriptor It does not destroy the event. If the event is no longer needed,
call
RETURN VALUE
The operation completed without error.
An end-of-file condition was encountered while reading.
One of the arguments to the function is invalid.
An operation failed because an attempt to acquire heap memory failed.
An error occurred while reading an event.
An error occurred while writing an event.
ERRORS
The value of is not set.
SEE ALSO
Routines
EvmEventDestroy(3).
Event Management
EVM(5).
EVM Events
EvmEvent(5).
EvmEventRead(3)
Check Out this Related Man Page
EvmEventRead(3) Library Functions Manual EvmEventRead(3)NAME
EvmEventRead, EvmEventWrite - Performs I/O of events to and from a file
LIBRARY
EVM Support Library (libevm.so, libevm.a)
SYNOPSIS
#include <evm/evm.h>
EvmStatus_t EvmEventRead(
EvmFd_t fd,
EvmEvent_t *event);
EvmStatus_t EvmEventWrite(
EvmFd_t fd,
const EvmEvent_t event);
OPERANDS
For EvmEventRead(), the return parameter created for the event read. For EvmEventWrite(), the event to be written. The file descriptor to
which the event should be written, or from which it should be read.
DESCRIPTION
The EvmEventRead() routine creates a new event structure and populates it with an event read from the supplied file descriptor (fd). The
EvmEventDestroy() routine must be used to destroy the new event when it is no longer needed.
The EvmEventWrite() routine writes the supplied event to the specified file descriptor (fd). It does not destroy the event. If the event
is no longer needed, the caller should call EvmEventDestroy().
RESTRICTIONS
None
RETURN VALUES
The operation was completed without error. En end-of-file condition was encountered while reading. One of the arguments to the function
was invalid. An operation failed because an attempt to acquire heap memory failed. An error occurred while reading an event. An error
occurred while writing an event.
ERRORS
None
FILES
None
SEE ALSO
Routines: EvmEventDestroy(3)
Event Management: EVM(5)
EVM Events: EvmEvent(5)
delim off
EvmEventRead(3)
Hi
I need to understand abt Event Management Library for example..A module will be responsible for Handling the event posted by the other modules...and creating a new process for handling the event posted by the other modules..also after completing the event clearing of the event...
Need to... (3 Replies)
hi,
when i want to "adduser newuser" i receved this warning :
event type "audit_buf" is a fixed event and may not be manipulated
help me please (2 Replies)