posix_spawnattr_sched.c raw

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