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

NAME

6       pmem2_vm_reservation_get_size() - reads virtual memory reservation size
7

SYNOPSIS

9              #include <libpmem2.h>
10
11              size_t pmem2_vm_reservation_get_size(struct pmem2_vm_reservation *rsv);
12

DESCRIPTION

14       The  pmem2_vm_reservation_get_size() function reads size of the created
15       virtual memory reservation.  The rsv parameter points to the  structure
16       describing virtual memory reservation created using the pmem2_vm_reser‐
17       vation_new(3) function.
18

RETURN VALUE

20       The pmem2_vm_reservation_get_size() function returns a size of the vir‐
21       tual reservation area.
22

SEE ALSO

24       pmem2_vm_reservation_new(3), libpmem2(7) and <https://pmem.io>
25
26
27
28PMDK -                            2023-06-05                                ()
Impressum