PMEMSET_PART_MAP_DROP(3)

NAME

pmemset_part_map_drop() - drops the reference to the part mapping

SYNOPSIS

    #include <libpmemset.h>
    struct pmemset_part_map;
    void pmemset_part_map_drop(struct pmemset_part_map **pmap);

DESCRIPTION

The pmemset_part_map_drop() function drops the address reference to the part mapping. Address of a pointer to the part mapping object is passed to the function via the pmap pointer. Pointer to the part mapping object can be retrieved using either pmemset_first_part_map(3), pmemset_next_part_map(3) or pmemset_part_map_by_address(3) functions.

RETURN VALUE

The pmemset_part_map_drop() does not return any value. *pmap is always set to NULL.

SEE ALSO

pmemset_first_part_map(3), pmemset_next_part_map(3), pmemset_part_map_by_address(3), libpmemset(7) and <https://pmem.io>