Lines Matching refs:errno
40 /// Sets the platform-specific errno to no-error
42 // Safe because errno is a thread-local variable
48 /// Returns the platform-specific value of errno
49 pub fn errno() -> i32 {
71 /// should not be used when `-1` is not the errno sentinel value.
83 /// information about the error can be found in `errno`
141 Errno::from_i32(errno())
144 fn desc(errno: Errno) -> &'static str {
146 match errno {
147 UnknownErrno => "Unknown errno",