libnvmf_uri_parse-libnvme3(2)

libnvmf_uri_parse-libnvme32

Parse the uri string

Usage

int libnvmf_uri_parse (const char *str , struct libnvmf_uri **uri );

Arguments

str

URI string

uri

URI object to return

Overview

Parse the URI string as defined in the NVM Express Boot Specification. Supported URI elements looks as follows:

nvme+tcp://userhost:port/subsys_nqn/nid?query=val#fragment

Return

0 on success, negative error code otherwise.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.