libc/new/apple/libpthread/pthread_/
spawn.rs

1//! Header: `pthread/spawn.h`
2//!
3//! <https://github.com/apple-oss-distributions/libpthread/blob/main/include/pthread/spawn.h>
4
5use crate::prelude::*;
6
7extern "C" {
8    pub fn posix_spawnattr_set_qos_class_np(
9        attr: *mut crate::posix_spawnattr_t,
10        qos_class: crate::qos_class_t,
11    ) -> c_int;
12    pub fn posix_spawnattr_get_qos_class_np(
13        attr: *const crate::posix_spawnattr_t,
14        qos_class: *mut crate::qos_class_t,
15    ) -> c_int;
16}