Function pal::unix::while_eintr

source ยท
pub fn while_eintr<F, R, E>(f: F) -> Result<R, E>
where F: FnMut() -> Result<R, E>, E: TryAsErrno,
Expand description

Runs f() until it stop failing with EINTR (as indicated by errno).