libc/new/apple/libpthread/pthread_/pthread_spis.rs
1//! Header: `pthread/pthread_spis.h`
2//!
3//! <https://github.com/apple-oss-distributions/libpthread/blob/main/include/pthread/pthread_spis.h>
4
5use crate::prelude::*;
6
7extern "C" {
8 pub fn pthread_create_from_mach_thread(
9 thread: *mut crate::pthread_t,
10 attr: *const crate::pthread_attr_t,
11 f: extern "C" fn(*mut c_void) -> *mut c_void,
12 value: *mut c_void,
13 ) -> c_int;
14}