1PMEM2_MAP_GET_SIZE(3) PMDK Programmer's Manual PMEM2_MAP_GET_SIZE(3)
2
3
4
6 pmem2_map_get_size() - reads mapping size
7
9 #include <libpmem2.h>
10
11 size_t pmem2_map_get_size(struct pmem2_map *map);
12
14 The pmem2_map_get_size() function reads size of the created mapping.
15 The map parameter points to the structure describing mapping created
16 using the pmem2_map_new(3) function.
17
19 The pmem2_map_get_size() function returns a size of the mapped area.
20
22 pmem2_map_new(3), libpmem2(7) and <https://pmem.io>
23
24
25
26PMDK - pmem2 API version 1.0 2021-07-22 PMEM2_MAP_GET_SIZE(3)