.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "" "" "2023-05-26" "PMDK - " "PMDK Programmer's Manual" .hy .\" SPDX-License-Identifier: BSD-3-Clause .\" Copyright 2019, Intel Corporation .SH NAME .PP \f[B]pmem2_map_get_size\f[R]() - reads mapping size .SH SYNOPSIS .IP .nf \f[C] #include size_t pmem2_map_get_size(struct pmem2_map *map); \f[R] .fi .SH DESCRIPTION .PP The \f[B]pmem2_map_get_size\f[R]() function reads size of the created mapping. The \f[I]map\f[R] parameter points to the structure describing mapping created using the \f[B]pmem2_map_new\f[R](3) function. .SH RETURN VALUE .PP The \f[B]pmem2_map_get_size\f[R]() function returns a size of the mapped area. .SH SEE ALSO .PP \f[B]pmem2_map_new\f[R](3), \f[B]libpmem2\f[R](7) and \f[B]\f[R]