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
RETURN VALUE
SEE ALSO

NAME

pmemset_source_delete() - delete an instance of persistent memory data source

SYNOPSIS

#include <libpmemset.h>

struct pmemset_source;

int pmemset_source_delete(struct pmemset_source **src);

DESCRIPTION

The pmemset_source_delete() function frees the data source obtained using either pmemset_source_from_file(3) or pmemset_source_from_pmem2(3) function. The user-provided variable pointed by *src is set to NULL. If *src is NULL, no operation is performed.

RETURN VALUE

The pmemset_source_delete() function always returns 0.

SEE ALSO

pmemset_source_from_file(3), pmemset_source_from_pmem2(3), libpmemset(7) and http://pmem.io

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