Skip to content

Commit

Permalink
Auto merge of #879 - SanchayanMaity:kill, r=alexcrichton
Browse files Browse the repository at this point in the history
Add killpg
  • Loading branch information
bors committed Jan 13, 2018
2 parents 1e80d93 + a2f948d commit 3ccb075
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,9 @@ extern {
#[cfg_attr(all(target_os = "macos", target_arch = "x86"),
link_name = "kill$UNIX2003")]
pub fn kill(pid: pid_t, sig: ::c_int) -> ::c_int;
#[cfg_attr(all(target_os = "macos", target_arch = "x86"),
link_name = "killpg$UNIX2003")]
pub fn killpg(pgrp: pid_t, sig: ::c_int) -> ::c_int;

pub fn mlock(addr: *const ::c_void, len: ::size_t) -> ::c_int;
pub fn munlock(addr: *const ::c_void, len: ::size_t) -> ::c_int;
Expand Down

0 comments on commit 3ccb075

Please sign in to comment.