Commit 9bc8a1e1d0

daurnimator <quae@daurnimator.com>
2020-03-30 12:35:32
std: add some missing errnos on linux
1 parent 356ef38
Changed files (1)
lib
std
os
lib/std/os/bits/linux/errno-generic.zig
@@ -368,6 +368,33 @@ pub const ENOMEDIUM = 123;
 /// Wrong medium type
 pub const EMEDIUMTYPE = 124;
 
+/// Operation canceled
+pub const ECANCELED = 125;
+
+/// Required key not available
+pub const ENOKEY = 126;
+
+/// Key has expired
+pub const EKEYEXPIRED = 127;
+
+/// Key has been revoked
+pub const EKEYREVOKED = 128;
+
+/// Key was rejected by service
+pub const EKEYREJECTED = 129;
+
+// for robust mutexes
+/// Owner died
+pub const EOWNERDEAD = 130;
+/// State not recoverable
+pub const ENOTRECOVERABLE = 131;
+
+/// Operation not possible due to RF-kill
+pub const ERFKILL = 132;
+
+/// Memory page has hardware error
+pub const EHWPOISON = 133;
+
 // nameserver query return codes
 
 /// DNS server returned answer with no data