libnvme_set_logging_file-libnvme3(2)

libnvme_set_logging_file-libnvme32

Set the log output file for the global context

Usage

void libnvme_set_logging_file (struct libnvme_global_ctx *ctx , FILE *fp );

Arguments

ctx

struct libnvme_global_ctx object

fp

File stream to write log messages to, or NULL to use stderr

Overview

Sets the file descriptor used for log output. Passing NULL reverts to the default (stderr).

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.