[][src]Macro uapi::map_err

macro_rules! map_err {
    ($expr:expr) => { ... };
}

fn(<integer type>) -> Result<integer type>

The result is Err if and only if the argument is -1. In this case the return value contains the current value of ERRNO.