diff options
author | bors <bors@rust-lang.org> | 2023-04-22 01:36:28 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2023-04-22 01:36:28 +0000 |
commit | 9e9021163c29e571292b2731326ec4ddb8b8110d (patch) | |
tree | 7ac10a7da8512ff305af34573bf1f3c4ebd1a396 /src | |
parent | 76f34a283994f286eb1927acb2ac115c634c9a57 (diff) | |
parent | 06fdfac833e833f641032b92a99f9cc1050a5169 (diff) | |
download | rust-libc-9e9021163c29e571292b2731326ec4ddb8b8110d.tar.gz |
Auto merge of #3040 - 0-wiz-0:netbsd, r=JohnTitor
NetBSD: add two more errno values
available in NetBSD-current since 2020
Diffstat (limited to 'src')
-rw-r--r-- | src/unix/bsd/netbsdlike/netbsd/mod.rs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/unix/bsd/netbsdlike/netbsd/mod.rs b/src/unix/bsd/netbsdlike/netbsd/mod.rs index 402257fd3b..c750cfb1d0 100644 --- a/src/unix/bsd/netbsdlike/netbsd/mod.rs +++ b/src/unix/bsd/netbsdlike/netbsd/mod.rs @@ -1464,7 +1464,15 @@ pub const ENOATTR: ::c_int = 93; pub const EMULTIHOP: ::c_int = 94; pub const ENOLINK: ::c_int = 95; pub const EPROTO: ::c_int = 96; -pub const ELAST: ::c_int = 96; +pub const EOWNERDEAD: ::c_int = 97; +pub const ENOTRECOVERABLE: ::c_int = 98; +#[deprecated( + since = "0.2.143", + note = "This value will always match the highest defined error number \ + and thus is not stable. \ + See #3040 for more info." +)] +pub const ELAST: ::c_int = 98; pub const F_DUPFD_CLOEXEC: ::c_int = 12; pub const F_CLOSEM: ::c_int = 10; |