Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sigsuspend to more targets: bsd, haiku, and solarish #3518

Merged
merged 1 commit into from Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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