libnvmf_uri_parse(9) libnvme API manual libnvmf_uri_parse(9)

libnvmf_uri_parse - Parse the URI string

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

URI string
URI object to return

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

0 on success, negative error code otherwise.

libnvmf_uri_parse September 2026