get_errno

Function get_errno 

Source
pub fn get_errno() -> i32
Expand description

Returns the value of errno.

ยงExamples

let errno = get_errno();
assert_eq!(errno, 0);