sched_getparam
int sched_getparam(pid_t, struct sched_param *);
RL(sched_getparam(pid, &child_sp));
RL(sched_getparam(0, ¶m));
ATF_REQUIRE(sched_getparam(0, &sched) == 0);
ATF_TP_ADD_TC(tp, sched_getparam);
ATF_TC(sched_getparam);
ATF_TC_HEAD(sched_getparam, tc)
ATF_TC_BODY(sched_getparam, tc)
ATF_REQUIRE(sched_getparam(0, &s1) == 0);
ATF_REQUIRE(sched_getparam(p, &s2) == 0);
ATF_REQUIRE(sched_getparam(-1, &s1) != 0);