pmem2_vm_reservation_get_size - Man Page

reads virtual memory reservation size


#include <libpmem2.h>

size_t pmem2_vm_reservation_get_size(struct pmem2_vm_reservation *rsv);


The pmem2_vm_reservation_get_size() function reads size of the created virtual memory reservation. The rsv parameter points to the structure describing virtual memory reservation created using the pmem2_vm_reservation_new(3) function.

Return Value

The pmem2_vm_reservation_get_size() function returns a size of the virtual reservation area.

See Also

pmem2_vm_reservation_new(3), libpmem2(7) and <>


2022-08-25 PMDK - pmem2 API version 1.0 PMDK Programmer's Manual