pub fn errno_io_error() -> Error
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.