Skip to content

Commit c895135

Browse files
committed
Add sigqueue
1 parent 9f4ac58 commit c895135

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/unix/mod.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,6 +1672,14 @@ cfg_if! {
16721672
}
16731673
}
16741674

1675+
cfg_if! {
1676+
if #[cfg(not(target_os = "macos"))] {
1677+
extern "C" {
1678+
pub fn sigqueue(pid: pid_t, sig: c_int, value: crate::sigval) -> c_int;
1679+
}
1680+
}
1681+
}
1682+
16751683
cfg_if! {
16761684
if #[cfg(not(target_os = "android"))] {
16771685
extern "C" {

0 commit comments

Comments
 (0)