Skip to content

Commit 50e3c82

Browse files
committed
Add sigqueue
1 parent 9f4ac58 commit 50e3c82

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/unix/mod.rs

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

1675+
cfg_if! {
1676+
if #[cfg(not(any(
1677+
target_os = "emscripten",
1678+
target_os = "macos",
1679+
)))] {
1680+
extern "C" {
1681+
pub fn sigqueue(pid: pid_t, sig: c_int, value: crate::sigval) -> c_int;
1682+
}
1683+
}
1684+
}
1685+
16751686
cfg_if! {
16761687
if #[cfg(not(target_os = "android"))] {
16771688
extern "C" {

0 commit comments

Comments
 (0)