PMEM2_CONFIG_CLEAR_ADDRESS(3)

NAME

pmem2_config_clear_address() - reset addr and request_type to the default values in the pmem2_config structure

SYNOPSIS

    #include <libpmem2.h>
    struct pmem2_config;
    void pmem2_config_clear_address(struct pmem2_config *cfg);

DESCRIPTION

The pmem2_config_clear_address() function resets *addr and *_type* to the default values. The function is used to revert changes set by pmem2_config_set_address(3). If the *addr is default, the starting mapping address will be chosen by the operating system, for more information please see pmem2_map(3).

RETURN VALUE

pmem2_config_clear_address() does not return any value.

SEE ALSO

libpmem2(7), pmem2_config_set_address(3), pmem2_map(3), and <http://pmem.io>