Skip to content

Commit

Permalink
Merge pull request rust-lang#31 from alexcrichton/sigaddset
Browse files Browse the repository at this point in the history
Add more sigset functions
  • Loading branch information
alexcrichton committed Nov 3, 2015
2 parents 56f6104 + fe5f36b commit 193baf9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 193baf9

Please sign in to comment.