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_first_part_map() - reads first mapping from a set pmemset_next_part_map() - reads next mapping from a set

SYNOPSIS

#include <libpmemset.h>

struct pmemset;
struct pmemset_part_map;
void pmemset_first_part_map(struct pmemset *set, struct pmemset_part_map **pmap);

void pmemset_next_part_map(struct pmemset *set, struct pmemset_part_map *cur,
		struct pmemset_part_map **next)

DESCRIPTION

The pmemset_first_part_map() function reads first mapping from the set. The pmemset_next_part_map() function reads from the set a mapping that succeeds the mapping provided in the cur variable. The set parameter points to the structure describing a set created with pmemset_new(3) function. Pointer to the retrieved mapping object in the set is stored in the user-provided variable via the pmap or next pointer depending on the used function.

RETURN VALUE

The pmemset_first_part_map() does not return any value. *pmap is set to NULL on failure.

The pmemset_next_part_map() does not return any value. *next is set to NULL on failure.

SEE ALSO

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

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