logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

brlapi_misc - Miscellaneous functions

Author

Generated automatically by Doxygen for BrlAPI from the source code. BrlAPI Version 0.8 brlapi_misc(3)

Detailed Description

Function Documentation

intBRLAPI_STDCALLbrlapi__pause(brlapi_handle_t*handle,inttimeout_ms)intBRLAPI_STDCALLbrlapi__sync(brlapi_handle_t*handle)intBRLAPI_STDCALLbrlapi_pause(inttimeout_ms) Waits until an event is received from the BrlAPI server Parameterstimeout_ms specifies 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. intBRLAPI_STDCALLbrlapi_sync(void) Synchronize against any pending exception, and returns it. This allows to synchronously catch exception raised by brlapi_write calls. This works by temporarily replacing the current exception handler by its own handler. Returns 0 if no exception was pending, -1 if an exception was caught.

Name

brlapi_misc - Miscellaneous functions

Synopsis

Functions int BRLAPI_STDCALLbrlapi_pause (int timeout_ms) int BRLAPI_STDCALLbrlapi__pause (brlapi_handle_t *handle, int timeout_ms) int BRLAPI_STDCALLbrlapi_sync (void) int BRLAPI_STDCALLbrlapi__sync (brlapi_handle_t *handle)

See Also