---
name: "task_nice"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/task_nice"
---

# task\_nice(9)

return the nice value of a given task.

## NAME

task\_nice - 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
