libnvmf\_read\_nbft(9) libnvme API manual libnvmf\_read\_nbft(9)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

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

# [ARGUMENTS](#ARGUMENTS)

[ctx](#ctx)

struct libnvme\_global\_ctx object

[nbft](#nbft)

Parsed NBFT table data.

[filename](#filename)

Filename of the raw NBFT table to read.

# [DESCRIPTION](#DESCRIPTION)

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

# [RETURN](#RETURN)

0 on success, negative error code otherwise.

libnvmf\_read\_nbft September 2026

---

Document: libnvmf_read_nbft-libnvme3(2) from nvme-cli 3.1-r1 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
