mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-08 18:31:35 +00:00
Add standard C error function aliases to last_os_error This aids the discoverability of `io::Error::last_os_error()` by linking to commonly used error number functions from C/C++. I've seen a few people not realize this exists, so hopefully this helps draw attention to the API to encourage using it over integer error codes.