task_nice(9) return the nice value of a given task.

SYNOPSIS

int task_nice(const struct task_struct * p);

ARGUMENTS

p

the task in question.

RETURN

The nice value [ -20 ... 0 ... 19 ].

COPYRIGHT