libnvme_create_global_ctx-libnvme3(2)

libnvme_create_global_ctx-libnvme32

Initialize global context object

Usage

struct libnvme_global_ctx * libnvme_create_global_ctx (void );

Arguments

void

no arguments

Overview

Creates a global context with default settings: logging to stderr at LIBNVME_DEFAULT_LOGLEVEL. Use libnvme_set_logging_file and libnvme_set_logging_level to adjust these after creation.

Return

Initialized struct libnvme_global_ctx object

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