rapi_dispatch - dispatch API event
#include <rapi.h>
int rapi_dispatch(void)
The application should call this routine whenever a read event is signaled on a file descriptor returned byrapi_getfd() . Therapi_dispatch() routine may be called at any time, but it will generally have no effect unless there is a pending event.
Calling this routine may result in one or more upcalls to the application from any of the open API sessions.If this call encounters an error,
rapi_dispatch() returns a RAPI error code; otherwise, it returns zero. SeeError Handling for a list of error codes.
Contents | Next section | Index |