Skip to content

Commit 51c61d4

Browse files
yshuiBuilder
authored andcommitted
Add sigqueue
1 parent bbafd45 commit 51c61d4

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
@@ -1674,6 +1674,17 @@ cfg_if! {
16741674
}
16751675
}
16761676

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

0 commit comments

Comments
 (0)