Skip to content

Commit 06a855b

Browse files
committed
Auto merge of rust-lang#864 - Susurrus:freebsd_errnos, r=malbarbo
Add more FreeBSD errnos
2 parents d8fc152 + 97925e9 commit 06a855b

File tree

1 file changed

+4
-0
lines changed
  • src/unix/bsd/freebsdlike/freebsd

1 file changed

+4
-0
lines changed

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ pub const O_TTY_INIT: ::c_int = 0x00080000;
153153
pub const F_GETLK: ::c_int = 11;
154154
pub const F_SETLK: ::c_int = 12;
155155
pub const F_SETLKW: ::c_int = 13;
156+
pub const ENOTCAPABLE: ::c_int = 93;
157+
pub const ECAPMODE: ::c_int = 94;
158+
pub const ENOTRECOVERABLE: ::c_int = 95;
159+
pub const EOWNERDEAD: ::c_int = 96;
156160
pub const ELAST: ::c_int = 96;
157161
pub const RLIMIT_NPTS: ::c_int = 11;
158162
pub const RLIMIT_SWAP: ::c_int = 12;

0 commit comments

Comments
 (0)