manual: fix a typo in strtoul description [BZ #21161]
[glibc.git] / include / sched.h
blobb698f7866689035a8138818b130de79d3dde581c
1 #ifndef _SCHED_H
2 #include <posix/sched.h>
4 #ifndef _ISOMAC
5 /* Now define the internal interfaces. */
6 extern int __sched_setparam (__pid_t __pid,
7 const struct sched_param *__param);
8 libc_hidden_proto (__sched_setparam)
9 extern int __sched_getparam (__pid_t __pid, struct sched_param *__param);
10 extern int __sched_setscheduler (__pid_t __pid, int __policy,
11 const struct sched_param *__param);
12 libc_hidden_proto (__sched_setscheduler)
13 extern int __sched_getscheduler (__pid_t __pid);
14 extern int __sched_yield (void);
15 libc_hidden_proto (__sched_yield)
16 extern int __sched_get_priority_max (int __algorithm);
17 libc_hidden_proto (__sched_get_priority_max)
18 extern int __sched_get_priority_min (int __algorithm);
19 libc_hidden_proto (__sched_get_priority_min)
20 extern int __sched_rr_get_interval (__pid_t __pid, struct timespec *__t);
22 /* These are Linux specific. */
23 extern int __clone (int (*__fn) (void *__arg), void *__child_stack,
24 int __flags, void *__arg, ...);
25 libc_hidden_proto (__clone)
26 extern int __clone2 (int (*__fn) (void *__arg), void *__child_stack_base,
27 size_t __child_stack_size, int __flags, void *__arg, ...);
28 libc_hidden_proto (__clone2)
29 #endif
30 #endif