---
name: "list_empty"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/list_empty/9"
---

# list\_empty(9)

tests whether a list is empty

## NAME

list\_empty - tests whether a list is empty

## SYNOPSIS

**int list\_empty(const struct list\_head \*** *head***);**

## ARGUMENTS

*head*

the list to test.

## COPYRIGHT
