Skip to main content

errno_io_error

Function errno_io_error 

Source
pub fn errno_io_error() -> Error
Expand description

Get the last error from C runtime library functions (like _dup, _dup2, _fstat, etc.) CRT functions set errno, not GetLastError(), so we need to read errno directly.