• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <spawn.h>
2 #include <sched.h>
3 #include <errno.h>
4 #include <unsupported_api.h>
5 
posix_spawnattr_getschedparam(const posix_spawnattr_t * restrict attr,struct sched_param * restrict schedparam)6 int posix_spawnattr_getschedparam(const posix_spawnattr_t *restrict attr,
7 	struct sched_param *restrict schedparam)
8 {
9 	UNSUPPORTED_API_VOID(LITEOS_A);
10 	return ENOSYS;
11 }
12 
posix_spawnattr_setschedparam(posix_spawnattr_t * restrict attr,const struct sched_param * restrict schedparam)13 int posix_spawnattr_setschedparam(posix_spawnattr_t *restrict attr,
14 	const struct sched_param *restrict schedparam)
15 {
16 	UNSUPPORTED_API_VOID(LITEOS_A);
17 	return ENOSYS;
18 }
19 
posix_spawnattr_getschedpolicy(const posix_spawnattr_t * restrict attr,int * restrict policy)20 int posix_spawnattr_getschedpolicy(const posix_spawnattr_t *restrict attr, int *restrict policy)
21 {
22 	UNSUPPORTED_API_VOID(LITEOS_A);
23 	return ENOSYS;
24 }
25 
posix_spawnattr_setschedpolicy(posix_spawnattr_t * attr,int policy)26 int posix_spawnattr_setschedpolicy(posix_spawnattr_t *attr, int policy)
27 {
28 	UNSUPPORTED_API_VOID(LITEOS_A);
29 	return ENOSYS;
30 }
31