Define F_GETFD and F_SETFD
This commit is contained in:
+4
-2
@@ -11,8 +11,10 @@ pub const EVENT_NONE: usize = 0;
|
||||
pub const EVENT_READ: usize = 1;
|
||||
pub const EVENT_WRITE: usize = 2;
|
||||
|
||||
pub const F_GETFL: usize = 1;
|
||||
pub const F_SETFL: usize = 2;
|
||||
pub const F_GETFD: usize = 1;
|
||||
pub const F_SETFD: usize = 2;
|
||||
pub const F_GETFL: usize = 3;
|
||||
pub const F_SETFL: usize = 4;
|
||||
|
||||
pub const FUTEX_WAIT: usize = 0;
|
||||
pub const FUTEX_WAKE: usize = 1;
|
||||
|
||||
Reference in New Issue
Block a user