nvme_mi_create_root - Man Page

Create top-level MI (root) handle.

Synopsis

nvme_root_t nvme_mi_create_root (FILE *fp , int log_level );

Arguments

fp

File descriptor for logging messages

log_level

Logging level to use

Description

Create the top-level (library) handle for creating subsequent endpoint objects. Similar to nvme_create_root, but we provide this to allow linking without the core libnvme.

See nvme_create_root.

Return

new root object, or NULL on failure.

Info

August 2022 libnvme API manual