NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
SEE ALSO
pmemset_source_from_pmem2() - creates an instance of persistent set data source
#include <libpmemset.h>
int pmemset_source_from_pmem2(struct pmemset_source **src, struct pmem2_source *pmem2_src);
The pmemset_source_from_pmem2() function instantiates a new struct pmemset_source object describing set of data. The pmemset_source is created using pmem2_source from libpmem2(7) library. For more details see pmem2_source(3) man page.
The pmemset_source_from_pmem2() function returns 0 on success or a negative error code on failure.
pmemset_source_from_pmem2() can fail with the following errors:
errno(3), pmem2_source(3), libpmem2(7), libpmemset(7) and http://pmem.io
The contents of this web site and the associated GitHub repositories are BSD-licensed open source.