libnvme_create_global_ctx(9)

NAME
libnvme_create_global_ctx - Initialize global context object

SYNOPSIS
struct libnvme_global_ctx * libnvme_create_global_ctx (void );

ARGUMENTS

void
    no arguments

DESCRIPTION
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