Skip to content

Commit e9238eb

Browse files
committed
Auto merge of rust-lang#552 - vojtechkral:patch-3, r=alexcrichton
Solaris/Illumos: Add several more filio ioctls MIO needs these
2 parents 4439771 + 636348a commit e9238eb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/unix/solaris/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,13 @@ pub const SA_NOCLDSTOP: ::c_int = 0x00020000;
441441
pub const SS_ONSTACK: ::c_int = 1;
442442
pub const SS_DISABLE: ::c_int = 2;
443443

444+
pub const FIOCLEX: ::c_int = 0x20006601;
445+
pub const FIONCLEX: ::c_int = 0x20006602;
446+
pub const FIONREAD: ::c_int = 0x4004667f;
444447
pub const FIONBIO: ::c_int = 0x8004667e;
448+
pub const FIOASYNC: ::c_int = 0x8004667d;
449+
pub const FIOSETOWN: ::c_int = 0x8004667c;
450+
pub const FIOGETOWN: ::c_int = 0x4004667b;
445451

446452
pub const SIGCHLD: ::c_int = 18;
447453
pub const SIGBUS: ::c_int = 10;

0 commit comments

Comments
 (0)