emulate SOCK_CLOEXEC and SOCK_NONBLOCK for old (pre-2.6.27) kernels
[oweals/musl.git] / src / misc / setpriority.c
1 #include <sys/resource.h>
2 #include "syscall.h"
3
4 int setpriority(int which, id_t who, int prio)
5 {
6         return syscall(SYS_getpriority, which, who, prio);
7 }