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