// SPDX-License-Identifier: GPL-2.0-or-later /* * rt-sched.h - sched_setattr() and sched_getattr() API * * (C) Dario Faggioli , 2009, 2010 * Copyright (C) 2014 BMW Car IT GmbH, Daniel Wagner #include #include "rt-sched.h" int sched_setattr(pid_t pid, const struct sched_attr *attr, unsigned int flags) { return syscall(__NR_sched_setattr, pid, attr, flags); } int sched_getattr(pid_t pid, struct sched_attr *attr, unsigned int size, unsigned int flags) { return syscall(__NR_sched_getattr, pid, attr, size, flags); }