Skip to content

Commit

Permalink
Auto merge of #3518 - asomers:more-sigsuspend, r=JohnTitor
Browse files Browse the repository at this point in the history
Add sigsuspend to more targets: bsd, haiku, and solarish
  • Loading branch information
bors committed Jan 6, 2024
2 parents 5594447 + 44969a9 commit 11f7c7b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/apple.txt
Expand Up @@ -2216,6 +2216,7 @@ shmid_ds
sigaltstack
sigevent
siginfo_t
sigsuspend
sigwait
sockaddr_ctl
sockaddr_dl
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/dragonfly.txt
Expand Up @@ -1538,6 +1538,7 @@ shmget
sigaltstack
sigevent
siginfo_t
sigsuspend
sigtimedwait
sigwait
sigwaitinfo
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/freebsd.txt
Expand Up @@ -2192,6 +2192,7 @@ shmid_ds
sigaltstack
sigevent
siginfo_t
sigsuspend
sigtimedwait
sigwait
sigwaitinfo
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/netbsd.txt
Expand Up @@ -1538,6 +1538,7 @@ shmid_ds
sigaltstack
sigevent
siginfo_t
sigsuspend
sigtimedwait
sigwait
sigwaitinfo
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/openbsd.txt
Expand Up @@ -1260,6 +1260,7 @@ shmget
shmid_ds
sigaltstack
siginfo_t
sigsuspend
sigwait
sockaddr_dl
sockpeercred
Expand Down
1 change: 1 addition & 0 deletions src/unix/bsd/mod.rs
Expand Up @@ -761,6 +761,7 @@ extern "C" {
)]
#[cfg_attr(target_os = "netbsd", link_name = "__sigaltstack14")]
pub fn sigaltstack(ss: *const stack_t, oss: *mut stack_t) -> ::c_int;
pub fn sigsuspend(mask: *const ::sigset_t) -> ::c_int;
pub fn sem_close(sem: *mut sem_t) -> ::c_int;
pub fn getdtablesize() -> ::c_int;
pub fn getgrnam_r(
Expand Down
1 change: 1 addition & 0 deletions src/unix/haiku/mod.rs
Expand Up @@ -1782,6 +1782,7 @@ extern "C" {
groupcount: *mut ::c_int,
) -> ::c_int;
pub fn sigaltstack(ss: *const stack_t, oss: *mut stack_t) -> ::c_int;
pub fn sigsuspend(mask: *const ::sigset_t) -> ::c_int;
pub fn sem_close(sem: *mut sem_t) -> ::c_int;
pub fn getdtablesize() -> ::c_int;
pub fn getgrnam_r(
Expand Down
1 change: 1 addition & 0 deletions src/unix/solarish/mod.rs
Expand Up @@ -2952,6 +2952,7 @@ extern "C" {
result: *mut *mut ::group,
) -> ::c_int;
pub fn sigaltstack(ss: *const stack_t, oss: *mut stack_t) -> ::c_int;
pub fn sigsuspend(mask: *const ::sigset_t) -> ::c_int;
pub fn sem_close(sem: *mut sem_t) -> ::c_int;
pub fn getdtablesize() -> ::c_int;

Expand Down

0 comments on commit 11f7c7b

Please sign in to comment.