posix_spawnattr_sched.c 542 B

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