From 77dab50a680da7682f356afdb89eb72673ac46e0 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 12 May 2014 09:21:37 +0200 Subject: [PATCH] sched.7: Rework summary text describing sched_setattr(2) and sched_getattr(2) Note that these APIs are a superset of sched_setscheduler(2) and sched_getscheduler(2). Signed-off-by: Michael Kerrisk --- man7/sched.7 | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/man7/sched.7 b/man7/sched.7 index d70390fe2..e13d11378 100644 --- a/man7/sched.7 +++ b/man7/sched.7 @@ -69,14 +69,18 @@ Set the CPU affinity of a specified thread. Get the CPU affinity of a specified thread. .TP .BR sched_setattr (2) -(Linux-specific) -A generalized API for setting the scheduling policy and parameters -of a specified thread. +Set the scheduling policy and parameters of a specified thread. +This (Linux-specific) system call provides a superset of the functionality of +.BR sched_setscheduler (2) +and +.BR sched_setparam (2). .TP .BR sched_getattr (2) -(Linux-specific) -A generalized API for fetching the scheduling policy and parameters -of a specified thread. +Fetch the scheduling policy and parameters of a specified thread. +This (Linux-specific) system call provides a superset of the functionality of +.BR sched_getscheduler (2) +and +.BR sched_getparam (2). .\" .SS Scheduling policies The scheduler is the kernel component that decides which runnable thread