---
name: "libnvmf_read_nbft-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvmf_read_nbft-libnvme3"
---

# libnvmf\_read\_nbft-libnvme3(2)

Read and parse contents of an ACPI NBFT table

## NAME

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

## SYNOPSIS

**int libnvmf\_read\_nbft** **(struct libnvme\_global\_ctx \*ctx** *,* **struct libnbft\_info \*\*nbft** *,* **const char \*filename** *);*

## ARGUMENTS

- ctx

  struct libnvme\_global\_ctx object

- 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 libnbft\_info. Free with **libnvmf\_free\_nbft**.

## RETURN

0 on success, negative error code otherwise.
