cl_getevent routine

The cl_getevent routine returns an event notification message. The caller should issue this request only after a signal, as specified in a previous cl_registereventnotify request, is received.

Syntax

int cl_getevent (struct cli_en_msg_t * en_msg)

Parameters

Item Description
en_msg An event notification message buffer, large enough to hold one event notification message. Upon successful return, this buffer contains the received event, cluster, and, if applicable, the network and node identifications.

Status codes

Item Description
CLE_OK The request completed successfully.
CLE_SYSERR System error. Check the AIX® global variable errno for additional information.

Example

See the example for the cl_registereventnotify routine.