---
name: "libnvme_subsystem_set_serial-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvme_subsystem_set_serial-libnvme3"
---

# libnvme\_subsystem\_set\_serial-libnvme3(2)

Set serial.

## NAME

libnvme\_subsystem\_set\_serial - Set serial.

## SYNOPSIS

**void libnvme\_subsystem\_set\_serial** **(struct libnvme\_subsystem \*p** *,* **const char \*serial** *);*

## ARGUMENTS

- p

  The *struct libnvme\_subsystem* instance to update.

- serial

  New string; a copy is stored. Pass NULL to clear.
