nvme_open(2)

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.

  1. 12
  2. 13

From libnvme-dev 1.13-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.