NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
SEE ALSO
pmemset_map_config_set_offset() - set offset of mapping in the map config.
#include <libpmemset.h>
int pmemset_config_set_offset(struct pmemset_map_config *map_cfg,
size_t offset);
The pmemset_map_config_set_offset() sets offset offset for future mapping in the map_cfg structure.
New mapping is created using pmemset_map(3) function and the offset specified in the offset value.
The pmemset_config_set_offset() function returns 0 on success or a negative error code on failure.
The pmemset_config_set_offset() can fail with the following errors:
pmemset_map(3), libpmemset(7) and http://pmem.io
The contents of this web site and the associated GitHub repositories are BSD-licensed open source.