Previous section.

Resource ReSerVation Protocol API (RAPI)
Copyright © 1998 The Open Group

NAME

rapi_dispatch - dispatch API event

SYNOPSIS

#include <rapi.h>

int rapi_dispatch(void)


DESCRIPTION

The application should call this routine whenever a read event is signaled on a file descriptor returned by rapi_getfd(). The rapi_dispatch() routine may be called at any time, but it will generally have no effect unless there is a pending event.

RESULT

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. See Error Handling for a list of error codes.

Contents Next section Index