1PMEM2_MAP_GET_SIZE(3)      PMDK Programmer's Manual      PMEM2_MAP_GET_SIZE(3)
2
3
4

NAME

6       pmem2_map_get_size() - reads mapping size
7

SYNOPSIS

9              #include <libpmem2.h>
10
11              size_t pmem2_map_get_size(struct pmem2_map *map);
12

DESCRIPTION

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

RETURN VALUE

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

SEE ALSO

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)
Impressum