commit
88396acecb
@ -1,5 +1,7 @@
|
||||
pub type mode_t = u16;
|
||||
|
||||
pub const SYS_gettid: ::c_int = 224;
|
||||
|
||||
s! {
|
||||
pub struct sigaction {
|
||||
pub sa_sigaction: ::sighandler_t,
|
||||
|
@ -1,5 +1,7 @@
|
||||
pub type mode_t = u32;
|
||||
|
||||
pub const SYS_gettid: ::c_int = 178;
|
||||
|
||||
s! {
|
||||
pub struct sigaction {
|
||||
pub sa_flags: ::c_uint,
|
||||
|
@ -472,6 +472,8 @@ pub const RTLD_DEEPBIND: ::c_int = 0x10;
|
||||
pub const RTLD_GLOBAL: ::c_int = 0x4;
|
||||
pub const RTLD_NOLOAD: ::c_int = 0x8;
|
||||
|
||||
pub const SYS_gettid: ::c_int = 4222; // Valid for O32
|
||||
|
||||
extern {
|
||||
pub fn sysctl(name: *mut ::c_int,
|
||||
namelen: ::c_int,
|
||||
|
@ -220,6 +220,8 @@ pub const TIOCMSET: ::c_ulong = 0x5418;
|
||||
pub const FIONREAD: ::c_ulong = 0x541B;
|
||||
pub const TIOCCONS: ::c_ulong = 0x541D;
|
||||
|
||||
pub const SYS_gettid: ::c_int = 224;
|
||||
|
||||
s! {
|
||||
pub struct stat {
|
||||
pub st_dev: ::dev_t,
|
||||
|
@ -220,6 +220,8 @@ pub const TIOCMSET: ::c_ulong = 0x5418;
|
||||
pub const FIONREAD: ::c_ulong = 0x541B;
|
||||
pub const TIOCCONS: ::c_ulong = 0x541D;
|
||||
|
||||
pub const SYS_gettid: ::c_int = 224; // Valid for arm (32-bit) and x86 (32-bit)
|
||||
|
||||
s! {
|
||||
pub struct stat {
|
||||
pub st_dev: ::dev_t,
|
||||
|
@ -301,3 +301,5 @@ pub const TIOCMBIC: ::c_ulong = 0x741C;
|
||||
pub const TIOCMSET: ::c_ulong = 0x741D;
|
||||
pub const FIONREAD: ::c_ulong = 0x467F;
|
||||
pub const TIOCCONS: ::c_ulong = 0x80047478;
|
||||
|
||||
pub const SYS_gettid: ::c_int = 4222; // Valid for O32
|
||||
|
@ -220,6 +220,8 @@ pub const TIOCMSET: ::c_ulong = 0x5418;
|
||||
pub const FIONREAD: ::c_ulong = 0x541B;
|
||||
pub const TIOCCONS: ::c_ulong = 0x541D;
|
||||
|
||||
pub const SYS_gettid: ::c_int = 224;
|
||||
|
||||
s! {
|
||||
pub struct stat {
|
||||
pub st_dev: ::dev_t,
|
||||
|
@ -226,6 +226,8 @@ pub const TIOCMSET: ::c_ulong = 0x5418;
|
||||
pub const FIONREAD: ::c_ulong = 0x541B;
|
||||
pub const TIOCCONS: ::c_ulong = 0x541D;
|
||||
|
||||
pub const SYS_gettid: ::c_int = 186; // Valid for x86_64
|
||||
|
||||
s! {
|
||||
pub struct stat {
|
||||
pub st_dev: ::dev_t,
|
||||
|
@ -18,3 +18,5 @@ pub const SO_SNDTIMEO: ::c_int = 21;
|
||||
|
||||
pub const FIOCLEX: ::c_ulong = 0x5451;
|
||||
pub const FIONBIO: ::c_ulong = 0x5421;
|
||||
|
||||
pub const SYS_gettid: ::c_int = 224;
|
||||
|
@ -18,3 +18,5 @@ pub const SO_SNDTIMEO: ::c_int = 19;
|
||||
|
||||
pub const FIOCLEX: ::c_ulong = 0x20006601;
|
||||
pub const FIONBIO: ::c_ulong = 0x8004667e;
|
||||
|
||||
pub const SYS_gettid: ::c_int = 207;
|
||||
|
@ -19,6 +19,8 @@ pub const SO_SNDTIMEO: ::c_int = 21;
|
||||
pub const FIOCLEX: ::c_ulong = 0x5451;
|
||||
pub const FIONBIO: ::c_ulong = 0x5421;
|
||||
|
||||
pub const SYS_gettid: ::c_int = 224;
|
||||
|
||||
s! {
|
||||
|
||||
pub struct mcontext_t {
|
||||
|
@ -26,6 +26,8 @@ pub const SO_SNDTIMEO: ::c_int = 21;
|
||||
pub const FIOCLEX: ::c_ulong = 0x5451;
|
||||
pub const FIONBIO: ::c_ulong = 0x5421;
|
||||
|
||||
pub const SYS_gettid: ::c_int = 178;
|
||||
|
||||
s! {
|
||||
pub struct stat {
|
||||
pub st_dev: ::dev_t,
|
||||
|
@ -26,6 +26,8 @@ pub const SO_SNDTIMEO: ::c_int = 19;
|
||||
pub const FIOCLEX: ::c_ulong = 0x20006601;
|
||||
pub const FIONBIO: ::c_ulong = 0x8004667e;
|
||||
|
||||
pub const SYS_gettid: ::c_int = 207;
|
||||
|
||||
s! {
|
||||
pub struct stat {
|
||||
pub st_dev: ::dev_t,
|
||||
|
@ -33,6 +33,8 @@ pub const PTRACE_SETFPXREGS: ::c_uint = 19;
|
||||
pub const PTRACE_GETREGS: ::c_uint = 12;
|
||||
pub const PTRACE_SETREGS: ::c_uint = 13;
|
||||
|
||||
pub const SYS_gettid: ::c_int = 186;
|
||||
|
||||
s! {
|
||||
pub struct stat {
|
||||
pub st_dev: ::dev_t,
|
||||
|
Loading…
Reference in New Issue
Block a user