pmemset API version 1.0

The PMDK repository on GitHub is the ultimate source of information on PMDK from release 2.0! For all questions and to submit eventual issues please follow to that repository. The PMDK documentation collected here should be valid up to the 1.13.1 release but is maintained only on a best-effort basis and may not reflect the latest state of the art.

NAME
SYNOPSIS
DESCRIPTION
DEBUGGING
SEE ALSO

NAME

libpmemset - provides core functionality any persistent application should reasonably have (EXPERIMENTAL)

SYNOPSIS

#include <libpmemset.h>
cc ... -lpmemset -lpmem2

DESCRIPTION

libpmemset is still in progress.

DEBUGGING

  • PMEMSET_LOG_LEVEL

Value assigned to the PMEMSET_LOG_LEVEL controls the level of log details presented in the debug version of the library, as follows:

  • 0 - This is the default level of logging, when PMEMSET_LOG_LEVEL is not set. No log messages are presented at this level.

  • 1 - Additional details on any errors detected are logged, in addition to returning the errno-based errors as usual. The same information may be retrieved using pmemset_errormsgU()/pmemset_errormsgW().

  • 2 - A trace of basic operations is logged.

  • 3 - Enables a very verbose amount of function call tracing in the library.

  • 4 - Enables voluminous and fairly obscure tracing information that is likely only useful to the libpmemset developers.

Unless PMEMSET_LOG_FILE is set, debugging output is written to stderr.

  • PMEMSET_LOG_FILE

Specifies the name of a file where all logging information should be written. If PMEMSET_LOG_FILE is not set, output is written to stderr.

SEE ALSO

https://pmem.io

The contents of this web site and the associated GitHub repositories are BSD-licensed open source.