logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pmem2_map_get_size() - reads mapping size

Description

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.

Name

pmem2_map_get_size() - reads mapping size

Return Value

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

See Also

pmem2_map_new(3), libpmem2(7) and <https://pmem.io>

Synopsis

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

See Also