Skip to content

Commit

Permalink
Add pthread_sigqueue.
Browse files Browse the repository at this point in the history
pthread_sigqueue is a gnu libc extension, however I have a use case for it,
hence why I'm adding it.
  • Loading branch information
pirocks committed Aug 13, 2022
1 parent d9eb957 commit 495361b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/linux_like/mod.rs
Expand Up @@ -1729,6 +1729,7 @@ extern "C" {
val: *mut ::c_int,
) -> ::c_int;
pub fn pthread_rwlockattr_setpshared(attr: *mut pthread_rwlockattr_t, val: ::c_int) -> ::c_int;
pub fn pthread_sigqueue(thread: ::pthread_t, sig: ::c_int, value: ::sigval) -> ::c_int;
pub fn ptsname_r(fd: ::c_int, buf: *mut ::c_char, buflen: ::size_t) -> ::c_int;
pub fn clearenv() -> ::c_int;
pub fn waitid(idtype: idtype_t, id: id_t, infop: *mut ::siginfo_t, options: ::c_int)
Expand Down

0 comments on commit 495361b

Please sign in to comment.