---
name: "nvme_ns_get_uuid"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_ns_get_uuid"
---

# nvme\_ns\_get\_uuid(2)

UUID of a namespace

## NAME

nvme\_ns\_get\_uuid - UUID of a namespace

## SYNOPSIS

**void nvme\_ns\_get\_uuid** **(nvme\_ns\_t n** *,* **unsigned char out\[NVME\_UUID\_LEN\]** *);*

## ARGUMENTS

- n

  Namespace instance

- out

  buffer for the UUID

## DESCRIPTION

Copies the namespace's uuid into *out*
