Where are Unix errno constants in Rust? Where are Unix errno constants in Rust? unix unix

Where are Unix errno constants in Rust?


Many of these constants are available through the libc crate. It also offers bindings to the functions which you'd presumably call before checking for the error codes, so you should be using it anyway if you aren't already.