authorgravatar for quae@daurnimator.comdaurnimator <quae@daurnimator.com> 2020-03-30 21:35:32+11:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-03-30 10:55:18-04:00
log9bc8a1e1d0a032e2666e2a5420211cc4b052de56
treea993f8c4bdf83156a55550265c4a4b8cd467fdf1
parent356ef3840fcfc5065713fd20908eba0eb7648b66

std: add some missing errnos on linux


1 files changed, 27 insertions(+), 0 deletions(-)

lib/std/os/bits/linux/errno-generic.zig+27
......@@ -368,6 +368,33 @@ pub const ENOMEDIUM = 123;
368368/// Wrong medium type
369369pub const EMEDIUMTYPE = 124;
370370
371/// Operation canceled
372pub const ECANCELED = 125;
373
374/// Required key not available
375pub const ENOKEY = 126;
376
377/// Key has expired
378pub const EKEYEXPIRED = 127;
379
380/// Key has been revoked
381pub const EKEYREVOKED = 128;
382
383/// Key was rejected by service
384pub const EKEYREJECTED = 129;
385
386// for robust mutexes
387/// Owner died
388pub const EOWNERDEAD = 130;
389/// State not recoverable
390pub const ENOTRECOVERABLE = 131;
391
392/// Operation not possible due to RF-kill
393pub const ERFKILL = 132;
394
395/// Memory page has hardware error
396pub const EHWPOISON = 133;
397
371398// nameserver query return codes
372399
373400/// DNS server returned answer with no data