diff options
author | bors <bors@rust-lang.org> | 2018-12-03 11:09:38 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2018-12-03 11:09:38 +0000 |
commit | 89faefe20bbe734b77be05eb43b8ae1b7776d26f (patch) | |
tree | 6448c850e8a80941867ecc06c18494396103e3f0 | |
parent | 31e8b7528d1a8e1d7e2a2c550ee4e7201aed5fb5 (diff) | |
parent | 5a3374a9edf2dc23c9297a2b469c8ff7a273588b (diff) | |
download | rust-libc-89faefe20bbe734b77be05eb43b8ae1b7776d26f.tar.gz |
Auto merge of #1160 - levex:dfly-add-missing-errnos, r=alexcrichton
DragonflyBSD: add ENOMEDIUM and EASYNC
These errno's are defined in <sys/errno.h> on DragonFlyBSD.
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
-rw-r--r-- | src/unix/bsd/freebsdlike/dragonfly/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/bsd/freebsdlike/dragonfly/mod.rs b/src/unix/bsd/freebsdlike/dragonfly/mod.rs index 3280322663..0414380461 100644 --- a/src/unix/bsd/freebsdlike/dragonfly/mod.rs +++ b/src/unix/bsd/freebsdlike/dragonfly/mod.rs @@ -222,6 +222,8 @@ pub const O_DIRECTORY: ::c_int = 0x08000000; pub const F_GETLK: ::c_int = 7; pub const F_SETLK: ::c_int = 8; pub const F_SETLKW: ::c_int = 9; +pub const ENOMEDIUM: ::c_int = 93; +pub const EASYNC: ::c_int = 99; pub const ELAST: ::c_int = 99; pub const RLIMIT_POSIXLOCKS: ::c_int = 11; pub const RLIM_NLIMITS: ::rlim_t = 12; |