libnvmf_read_nbft-libnvme32
Read and parse contents of an acpi nbft table
Usage
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.
Overview
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.