func is_error(result: Int) -> BoolReturns whether a host result is a negative errno value.View Sourcepub func is_error(result: Int) -> Bool { result < 0 }