---
name: "nvme_nbft_read"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_nbft_read"
---

# nvme\_nbft\_read(2)

Read and parse contents of an ACPI NBFT table

## NAME

nvme\_nbft\_read - Read and parse contents of an ACPI NBFT table

## SYNOPSIS

**int nvme\_nbft\_read** **(struct nbft\_info \*\*nbft** *,* **const char \*filename** *);*

## ARGUMENTS

- nbft

  Parsed NBFT table data.

- filename

  Filename of the raw NBFT table to read.

## DESCRIPTION

Read and parse the specified NBFT file into a struct nbft\_info. Free with **nvme\_nbft\_free**.

## RETURN

0 on success, errno otherwise.
