---
name: "libnvme_ctrl_next_ns-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_ctrl_next_ns-libnvme3"
---

# libnvme\_ctrl\_next\_ns-libnvme3(2)

Next namespace iterator

## NAME

libnvme\_ctrl\_next\_ns - Next namespace iterator

## SYNOPSIS

**struct libnvme\_ns \* libnvme\_ctrl\_next\_ns** **(struct libnvme\_ctrl \*c** *,* **struct libnvme\_ns \*n** *);*

## ARGUMENTS

- c

  Controller instance

- n

  Previous struct libnvme\_ns iterator

## RETURN

Next struct libnvme\_ns object of an *c* iterator
