Add FIONBIO
This commit is contained in:
parent
6ca7818f37
commit
67e3388d19
@ -65,6 +65,7 @@ s! {
|
||||
}
|
||||
|
||||
pub const FIOCLEX: c_ulong = 0x20006601;
|
||||
pub const FIONBIO: ::c_int = 0x8004667e;
|
||||
|
||||
pub const SA_ONSTACK: ::c_int = 0x0001;
|
||||
pub const SA_SIGINFO: ::c_int = 0x0040;
|
||||
|
@ -96,6 +96,8 @@ pub const L_tmpnam: ::c_uint = 1024;
|
||||
pub const TMP_MAX: ::c_uint = 308915776;
|
||||
pub const _PC_NAME_MAX: ::c_int = 4;
|
||||
|
||||
pub const FIONBIO: ::c_int = 0x5421;
|
||||
|
||||
pub const _SC_ARG_MAX: ::c_int = 0;
|
||||
pub const _SC_BC_BASE_MAX: ::c_int = 1;
|
||||
pub const _SC_BC_DIM_MAX: ::c_int = 2;
|
||||
|
@ -202,6 +202,7 @@ pub const __SIZEOF_PTHREAD_RWLOCK_T: usize = 32;
|
||||
pub const __SIZEOF_PTHREAD_MUTEXATTR_T: usize = 4;
|
||||
|
||||
pub const FIOCLEX: ::c_ulong = 0x6601;
|
||||
pub const FIONBIO: ::c_int = 0x667e;
|
||||
|
||||
pub const SA_ONSTACK: ::c_ulong = 0x08000000;
|
||||
pub const SA_SIGINFO: ::c_ulong = 0x00000008;
|
||||
|
@ -167,6 +167,7 @@ pub const TCP_TIMESTAMP: ::c_int = 24;
|
||||
pub const SO_REUSEPORT: ::c_int = 15;
|
||||
|
||||
pub const FIOCLEX: ::c_ulong = 0x5451;
|
||||
pub const FIONBIO: ::c_int = 0x5421;
|
||||
|
||||
pub const SA_ONSTACK: ::c_ulong = 0x08000000;
|
||||
pub const SA_SIGINFO: ::c_ulong = 0x00000004;
|
||||
|
Loading…
Reference in New Issue
Block a user