---
name: "libnvmf_nbft_read_files-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_nbft_read_files-libnvme3"
---

# libnvmf\_nbft\_read\_files-libnvme3(2)

Read NBFT files from path

## NAME

libnvmf\_nbft\_read\_files - Read NBFT files from path

## SYNOPSIS

**int libnvmf\_nbft\_read\_files** **(struct libnvme\_global\_ctx \*ctx** *,* **char \*path** *,* **struct nbft\_file\_entry \*\*head** *);*

## ARGUMENTS

- ctx

  struct libnvme\_global\_ctx object

- path

  Path to NBFT files

- head

  Pointer to store linked list of NBFT file entries

## DESCRIPTION

Reads NBFT files from the specified path and populates a linked list.

## RETURN

0 on success, negative error code otherwise.
