---
name: "is_idle_task"
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/is_idle_task"
---

# is\_idle\_task(9)

is the specified task an idle task?

## NAME

is\_idle\_task - is the specified task an idle task?

## SYNOPSIS

**bool is\_idle\_task(const struct task\_struct \*** *p***);**

## ARGUMENTS

*p*

the task in question.

## RETURN

1 if *p* is an idle task. 0 otherwise.

## COPYRIGHT
