is_error

func is_error(result: Int) -> Bool

Returns whether a host result is a negative errno value.

View Source
pub func is_error(result: Int) -> Bool {
	result < 0
}