#include #include #include "syscall.h" #include "pthread_impl.h" int sched_setparam(pid_t pid, const struct sched_param *param) { int r; if (!param) { r = -EINVAL; goto exit; } r = __syscall(SYS_sched_setparam, pid, param, MUSL_TYPE_PROCESS); exit: return __syscall_ret(r); }