1 #include <errno.h> 2 #include <sched.h> 3 #include <spawn.h> 4 posix_spawnattr_getschedparam(const posix_spawnattr_t * restrict attr,struct sched_param * restrict schedparam)5int posix_spawnattr_getschedparam(const posix_spawnattr_t* restrict attr, 6 struct sched_param* restrict schedparam) { 7 return ENOSYS; 8 } 9 posix_spawnattr_setschedparam(posix_spawnattr_t * restrict attr,const struct sched_param * restrict schedparam)10int posix_spawnattr_setschedparam(posix_spawnattr_t* restrict attr, 11 const struct sched_param* restrict schedparam) { 12 return ENOSYS; 13 } 14 posix_spawnattr_getschedpolicy(const posix_spawnattr_t * restrict attr,int * restrict policy)15int posix_spawnattr_getschedpolicy(const posix_spawnattr_t* restrict attr, int* restrict policy) { 16 return ENOSYS; 17 } 18 posix_spawnattr_setschedpolicy(posix_spawnattr_t * attr,int policy)19int posix_spawnattr_setschedpolicy(posix_spawnattr_t* attr, int policy) { 20 return ENOSYS; 21 } 22