---
name: "uuid_is_null"
section: "3"
platform: "linux"
package: "util-linux-libs"
version: "2.42.4-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/uuid_is_null"
---

# uuid\_is\_null(3)

compare the value of the UUID to the NULL value

## NAME

uuid\_is\_null - compare the value of the UUID to the NULL value

## SYNOPSIS

**#include \<uuid.h\>**

**int uuid\_is\_null(const uuid\_t** *uu***);**

## DESCRIPTION

*The* **uuid\_is\_null***() function compares the value of the supplied UUID variable uu to the NULL value. If the value is equal to the NULL UUID, 1 is returned, otherwise 0 is returned.*

## AUTHORS

*Theodore Y. Ts’o*

## SEE ALSO

**uuid***(3),* **uuid\_clear***(3),* **uuid\_compare***(3),* **uuid\_copy***(3),* **uuid\_generate***(3),* **uuid\_time***(3),* **uuid\_parse***(3),* **uuid\_unparse***(3)*

## REPORTING BUGS

*For bug reports, use the* *issue tracker \<https://github.com/util-linux/util-linux/issues\>.*

## AVAILABILITY

*The* **libuuid** *library is part of the util-linux package since version 2.15.1. It can be downloaded from* *Linux Kernel Archive \<https://www.kernel.org/pub/linux/utils/util-linux/\>.*
