Scroll to navigation

libnvme_set_logging_file(9) libnvme API manual libnvme_set_logging_file(9)

NAME

libnvme_set_logging_file - Set the log output file for the global context

SYNOPSIS

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

ARGUMENTS

struct libnvme_global_ctx object
File stream to write log messages to, or NULL to use stderr

DESCRIPTION

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

libnvme_set_logging_file July 2026