Skip to content
Snippets Groups Projects
Verified Commit a38e7aaa authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Update sigset_t to c_ulonglong

parent 24c4c10f
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ pub struct siginfo_t {
_si_align: [usize; 0],
}
pub type sigset_t = c_ulong;
pub type sigset_t = c_ulonglong;
pub type stack_t = sigaltstack;
......@@ -259,9 +259,9 @@ pub extern "C" fn sigpending(set: *mut sigset_t) -> c_int {
Sys::sigpending(set)
}
const BELOW_SIGRTMIN_MASK: c_ulong = (1 << SIGRTMIN) - 1;
const STANDARD_SIG_MASK: c_ulong = (1 << 32) - 1;
const RLCT_SIGNAL_MASK: c_ulong = BELOW_SIGRTMIN_MASK & !STANDARD_SIG_MASK;
const BELOW_SIGRTMIN_MASK: sigset_t = (1 << SIGRTMIN) - 1;
const STANDARD_SIG_MASK: sigset_t = (1 << 32) - 1;
const RLCT_SIGNAL_MASK: sigset_t = BELOW_SIGRTMIN_MASK & !STANDARD_SIG_MASK;
#[no_mangle]
pub unsafe extern "C" fn sigprocmask(how: c_int, set: *const sigset_t, oset: *mut sigset_t) -> c_int {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment