pmem2_map_get_size - Man Page

reads mapping size


#include <libpmem2.h>

size_t pmem2_map_get_size(struct pmem2_map *map);


The pmem2_map_get_size() function reads size of the created mapping. The map parameter points to the structure describing mapping created using the pmem2_map_new(3) function.

Return Value

The pmem2_map_get_size() function returns a size of the mapped area.

See Also

pmem2_map_new(3), libpmem2(7) and <>

Referenced By


2022-08-25 PMDK - pmem2 API version 1.0 PMDK Programmer's Manual