---
name: "libnvmf_uri_set_path_segments-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/libnvmf_uri_set_path_segments-libnvme3"
---

# libnvmf\_uri\_set\_path\_segments-libnvme3(2)

Set path\_segments.

## NAME

libnvmf\_uri\_set\_path\_segments - Set path\_segments.

## SYNOPSIS

**void libnvmf\_uri\_set\_path\_segments** **(struct libnvmf\_uri \*p** *,* **const char \*const \*path\_segments** *);*

## ARGUMENTS

- p

  The *struct libnvmf\_uri* instance to update.

- path\_segments

  New NULL-terminated string array; deep-copied.
