| 1 |
.TH "nvme_mi_create_root" 9 "nvme_mi_create_root" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_mi_create_root \- Create top-level MI (root) handle. |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "nvme_root_t" nvme_mi_create_root |
| 6 |
.BI "(FILE *fp " "," |
| 7 |
.BI "int log_level " ");" |
| 8 |
.SH ARGUMENTS |
| 9 |
.IP "fp" 12 |
| 10 |
File descriptor for logging messages |
| 11 |
.IP "log_level" 12 |
| 12 |
Logging level to use |
| 13 |
.SH "DESCRIPTION" |
| 14 |
Create the top-level (library) handle for creating subsequent endpoint |
| 15 |
objects. Similar to \fBnvme_create_root\fP, but we provide this to allow linking |
| 16 |
without the core libnvme. |
| 17 |
|
| 18 |
See \fInvme_create_root\fP. |
| 19 |
.SH "RETURN" |
| 20 |
new root object, or NULL on failure. |