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

e
EvmSrvStart(3) EvmSrvStart(3)
In each of these cases, the data is returned to the caller only if the address passed to the function as the
corresponding argument is not NULL.
The function returns a non-null value in at most one of these return arguments, and sets the others to
NULL. If the incoming message does not include data (for example, if it is a protocol message indicating
that the service is terminating) all three of the arguments are set to NULL.
The message may carry one information item, which is returned if info is not NULL. This value is used in
the service termination protocol message to indicate the exit code of the service process.
Notes
EvmSrvMessageGet
is not currently supported for general use.
RETURN VALUE
EvmERROR_NONE
If a non-null pointer was supplied as the appropriate argument, a received data
message is available in one of the three data return arguments.
EvmERROR_SERVICE_TERMINATED
The service indicated that it was terminating. If the caller passed a non-null data
argument, the service process’s exit code is returned in the info operand.
EvmERROR_EOF The service connection was closed by the service before a service termination
message was received. This value is returned if the caller continues to attempt
the call after the service has been terminated.
ERRORS
The value of errno is not set.
FILES
/etc/evmdaemon.conf evmd configuration file
SEE ALSO
Commands
evmget(1).
Routines
EvmConnDestroy(3).
Files
evmdaemon.conf(4).
Event Management
EVM(5).
Event Connection
EvmConnection(5).
EVM Events
EvmEvent(5).
400 Hewlett-Packard Company 2 HP-UX 11i Version 3: February 2007