From 31046c3cbdd05acbae97881728333cc251f6f3e9 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 28 Nov 2016 07:03:26 +0100 Subject: [PATCH] sched.7: Add nice(2), getpriority(2), and setpriority(2) to API list Signed-off-by: Michael Kerrisk --- man7/sched.7 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/man7/sched.7 b/man7/sched.7 index 48403025d..4fe49e29f 100644 --- a/man7/sched.7 +++ b/man7/sched.7 @@ -42,6 +42,18 @@ Linux provides the following system calls for controlling the CPU scheduling behavior, policy, and priority of processes (or, more precisely, threads). .TP +.BR nice (2) +Set a new nice value for the calling thread, +and return the new nice value. +.TP +.BR getpriority (2) +Return the nice value of a thread, a process group, +or the set of threads owned by a specified user. +.TP +.BR setpriority (2) +Set the nice value of a thread, a process group, +or the set of threads owned by a specified user. +.TP .BR sched_setscheduler (2) Set the scheduling policy and parameters of a specified thread. .TP