Function cvt_r

Source
pub fn cvt_r<T, F>(f: F) -> Result<T>
where T: IsMinusOne, F: FnMut() -> T,
Expand description

-1 → look at errno → retry on EINTR. Otherwise Ok()-wrap the closure return value.