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