nvme_open - Man Page

Open an nvme controller or namespace device

Synopsis

int nvme_open (const char *name );

Arguments

name

The basename of the device to open

Description

This will look for the handle in /dev/ and validate the name and filetype match linux conventions.

Return

A file descriptor for the device on a successful open, or -1 with errno set otherwise.

Info

August 2022 libnvme API manual