NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
pmemset_source_delete() - delete an instance of persistent memory data source
#include <libpmemset.h>
struct pmemset_source;
int pmemset_source_delete(struct pmemset_source **src);
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.
The pmemset_source_delete() function always returns 0.
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.