HP-UX Reference (11i v3 07/02) - 3 Library Functions A-M (vol 6)

e
EvmEventPost(3) EvmEventPost(3)
RETURN VALUE
EvmERROR_NONE
The operation completed without error.
EvmERROR_EVENT_REJECTED
The EVM daemon rejected the event. The most likely reasons are
that no template has been registered for the event, or that the caller
is not authorized to post the event. See evmtemplate (4) and
evm.auth(4) for more information.
EvmERROR_INVALID_ARGUMENT
One of the arguments to the function is invalid.
EvmERROR_INVALID_VALUE
A value in a structure member is invalid.
EvmERROR_NO_MEMORY
An operation failed because an attempt to acquire heap memory
failed.
EvmERROR_QUEUED
The connection’s output buffer is full, and the event has been queued
in heap space. Another attempt is made to flush the queue when the
next call is made to
EvmEventPost()
, or when the caller invokes
EvmConnFlush()
. This error code is only returned for connec-
tions for which
EvmConnControl()
has been invoked with the
request argument set to
EvmCONN_POST_NONBLOCK_SET
.
EvmERROR_READ A read error occurred while reading from the EVM daemon connec-
tion. The connection is no longer usable. The caller needs to invoke
EvmConnDestroy()
to destroy it.
EvmERROR_WRITE A write error occurred while writing to the EVM daemon connection.
The connection is no longer usable. The caller needs to invoke
EvmConnDestroy() to destroy it.
ERRORS
The value of
errno is not set.
SEE ALSO
Routines
EvmConnControl(3), EvmConnCreate(3), EvmConnDestroy(3), EvmConnRegistrationGet(3),
EvmEventCreate(3), EvmEventDestroy(3), EvmItemSetVa(3).
Event Management
EVM(5).
Event Connection
EvmConnection(5).
EVM Events
EvmEvent(5).
HP-UX 11i Version 3: February 2007 2 Hewlett-Packard Company 391