summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_mi_create_root.2
blob: 55cf7c631612f94bfead0f752216ceb38c3cd981 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.TH "nvme_mi_create_root" 9 "nvme_mi_create_root" "May 2024" "libnvme API manual" LINUX
.SH NAME
nvme_mi_create_root \- Create top-level MI (root) handle.
.SH SYNOPSIS
.B "nvme_root_t" nvme_mi_create_root
.BI "(FILE *fp "  ","
.BI "int log_level "  ");"
.SH ARGUMENTS
.IP "fp" 12
File descriptor for logging messages
.IP "log_level" 12
Logging level to use
.SH "DESCRIPTION"
Create the top-level (library) handle for creating subsequent endpoint
objects. Similar to \fBnvme_create_root\fP, but we provide this to allow linking
without the core libnvme.

See \fInvme_create_root\fP.
.SH "RETURN"
new root object, or NULL on failure.