| 1 |
.TH "nvme_parse_uri" 9 "nvme_parse_uri" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_parse_uri \- Parse the URI string |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "struct nvme_fabrics_uri *" nvme_parse_uri |
| 6 |
.BI "(const char *str " ");" |
| 7 |
.SH ARGUMENTS |
| 8 |
.IP "str" 12 |
| 9 |
URI string |
| 10 |
.SH "DESCRIPTION" |
| 11 |
Parse the URI string as defined in the NVM Express Boot Specification. |
| 12 |
Supported URI elements looks as follows: |
| 13 |
|
| 14 |
nvme+tcp://user\fIhost\fP:port/subsys_nqn/nid?query=val#fragment |
| 15 |
.SH "RETURN" |
| 16 |
\fInvme_fabrics_uri\fP structure on success; NULL on failure with errno |
| 17 |
set. |