aboutsummaryrefslogtreecommitdiff
path: root/libc/src/unix/notbsd/linux/musl/b64/x86_64.rs
blob: 2cfd903ca84fbe30b8c8ef9f282391ced5e7a733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pub type c_char = i8;

s! {
    pub struct mcontext_t {
        __private: [u64; 32],
    }

    pub struct ucontext_t {
        pub uc_flags: ::c_ulong,
        pub uc_link: *mut ucontext_t,
        pub uc_stack: ::stack_t,
        pub uc_mcontext: mcontext_t,
        pub uc_sigmask: ::sigset_t,
        __private: [u8; 512],
    }
}

pub const SYS_gettid: ::c_long = 186;

pub const SYS_perf_event_open: ::c_long = 298;