nvme_open2
Open an nvme controller or namespace device
Usage
int nvme_open (const char *name );
Arguments
- name
-
The basename of the device to open
Overview
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.
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.