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