debian/missing-sources/libc/src/new/apple/libpthread/pthread_/pthread_spis.rs
raw| 1 | //! Header: `pthread/pthread_spis.h` |
| 2 | //! |
| 3 | //! <https://github.com/apple-oss-distributions/libpthread/blob/main/include/pthread/pthread_spis.h> |
| 4 | |
| 5 | use crate::prelude::*; |
| 6 | |
| 7 | extern "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 | } |