1nvme_open(9) libnvme API manual nvme_open(9)
23
4
NAME
6nvme_open - Open an nvme controller or namespace device
7
SYNOPSIS
9int nvme_open (const char *name );
10
ARGUMENTS
12name The basename of the device to open
13
DESCRIPTION
15This will look for the handle in /dev/ and validate the name and file‐
16type match linux conventions.
17
RETURN
19A file descriptor for the device on a successful open, or -1 with errno
20set otherwise.
2122
23
24
November 2022 nvme_open nvme_open(9)