Merge pull request #31 from alexcrichton/sigaddset

Add more sigset functions
This commit is contained in:
Alex Crichton 2015-11-02 20:04:06 -08:00
commit 193baf9c72

View File

@ -506,6 +506,10 @@ extern {
align: ::size_t,
size: ::size_t) -> ::c_int;
pub fn sigemptyset(set: *mut sigset_t) -> ::c_int;
pub fn sigaddset(set: *mut sigset_t, signum: ::c_int) -> ::c_int;
pub fn sigfillset(set: *mut sigset_t) -> ::c_int;
pub fn sigdelset(set: *mut sigset_t, signum: ::c_int) -> ::c_int;
pub fn sigismember(set: *const sigset_t, signum: ::c_int) -> ::c_int;
#[cfg_attr(all(target_os = "macos", target_arch = "x86_64"),
link_name = "select$1050")]
#[cfg_attr(all(target_os = "macos", target_arch = "x86"),