nvme_open
Open an nvme controller or namespace device
- Provided by: libnvme-dev (Version: 1.16.1-4)
- Source: libnvme
- Report a bug
Open an nvme controller or namespace device
int nvme_open (const char *name );
This will look for the handle in /dev/ and validate the name and filetype match linux conventions.
A file descriptor for the device on a successful open, or -1 with errno set otherwise.