Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libc-test/semver/linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4031,6 +4031,7 @@ pthread_attr_setguardsize
pthread_attr_setinheritsched
pthread_attr_setschedparam
pthread_attr_setschedpolicy
pthread_attr_setstack
pthread_barrier_destroy
pthread_barrier_init
pthread_barrier_t
Expand Down
5 changes: 5 additions & 0 deletions src/unix/linux_like/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1783,6 +1783,11 @@ extern "C" {
stackaddr: *mut *mut c_void,
stacksize: *mut size_t,
) -> c_int;
pub fn pthread_attr_setstack(
attr: *mut crate::pthread_attr_t,
stackaddr: *mut c_void,
stacksize: size_t,
) -> c_int;
pub fn memalign(align: size_t, size: size_t) -> *mut c_void;
pub fn setgroups(ngroups: size_t, ptr: *const crate::gid_t) -> c_int;
pub fn pipe2(fds: *mut c_int, flags: c_int) -> c_int;
Expand Down
Loading