pub unsafe extern "C" fn aeron_archive_poll_for_error_response(
aeron_archive: *mut aeron_archive_t,
buffer: *mut c_char,
buffer_length: usize,
) -> c_int
Expand description
Poll the response stream once for an error. If another message is present then it will be skipped over, so only call when not expecting another response.
@return 0 if an error sent from the Aeron Archive is found, in which case, the provided buffer contains the error message. If there was no error, the buffer will be an empty string.
-1 if an error occurs while attempting to read from the subscription.