Macro base::handle_eintr_rc

source ·
macro_rules! handle_eintr_rc {
    ($x:expr) => { ... };
Expand description

Macro that retries the given expression every time its result indicates it was interrupted. It is intended to use with system functions that return EINTR and other error codes directly as their result. Most of reentrant functions use this way of signalling errors.