BrlAPI  0.8
Functions
Miscellaneous functions

Functions

int BRLAPI_STDCALL brlapi_pause (int timeout_ms)
 
int BRLAPI_STDCALL brlapi__pause (brlapi_handle_t *handle, int timeout_ms)
 

Detailed Description

Function Documentation

◆ brlapi__pause()

int BRLAPI_STDCALL brlapi__pause ( brlapi_handle_t handle,
int  timeout_ms 
)

◆ brlapi_pause()

int BRLAPI_STDCALL brlapi_pause ( int  timeout_ms)

Waits until an event is received from the BrlAPI server

Parameters
timeout_msspecifies an optional timeout which can be zero for polling, or -1 for infinite wait
Returns
0 on timeout, -1 on error, or on interruption by a signal or a parameter change notification, in which case brlapi_errno will be BRLAPI_ERROR_LIBCERR and errno will be EINTR.