make vfs & filesystems use failable copying
[minix3.git] / lib / libsys / sys_schedule.c
blob40d5a1ea13adbd70b7e5a7d9cf5d5fbc50dadc40
1 #include "syslib.h"
3 int sys_schedule(endpoint_t proc_ep,
4 int priority,
5 int quantum,
6 int cpu)
8 message m;
10 m.SCHEDULING_ENDPOINT = proc_ep;
11 m.SCHEDULING_PRIORITY = priority;
12 m.SCHEDULING_QUANTUM = quantum;
13 m.SCHEDULING_CPU = cpu;
14 return(_kernel_call(SYS_SCHEDULE, &m));