.\" Automatically generated by Pandoc 2.0.6 .\" .TH "PMEM2_VM_RESERVATION_GET_SIZE" "3" "2022-08-25" "PMDK - pmem2 API version 1.0" "PMDK Programmer's Manual" .hy .\" SPDX-License-Identifier: BSD-3-Clause .\" Copyright 2020, Intel Corporation .SH NAME .PP \f[B]pmem2_vm_reservation_get_size\f[]() \- reads virtual memory reservation size .SH SYNOPSIS .IP .nf \f[C] #include\ size_t\ pmem2_vm_reservation_get_size(struct\ pmem2_vm_reservation\ *rsv); \f[] .fi .SH DESCRIPTION .PP The \f[B]pmem2_vm_reservation_get_size\f[]() function reads size of the created virtual memory reservation. The \f[I]rsv\f[] parameter points to the structure describing virtual memory reservation created using the \f[B]pmem2_vm_reservation_new\f[](3) function. .SH RETURN VALUE .PP The \f[B]pmem2_vm_reservation_get_size\f[]() function returns a size of the virtual reservation area. .SH SEE ALSO .PP \f[B]pmem2_vm_reservation_new\f[](3), \f[B]libpmem2\f[](7) and \f[B]\f[]