/// Read and return the global errno value if the given condition holds.
Read and return the global errno value if the given condition holds.
Read and return the global errno value if the given condition holds .
pub fn if_(cond: bool) -> Result<(), Self> {
        if !cond {
            Ok(())
        } else {
            Err(Self::get_global())
        }
    }
pub fn if_ ( cond : bool ) -> Result < ( ) , Self > { if ! cond { Ok ( ( ) ) } else { Err ( Self :: get_global ( ) ) } }
Read and return the global errno value if the given condition holds.
Read and return the global errno value if the given condition holds .
cond
bool