1PMEMLOG_NBYTE(3) PMDK Programmer's Manual PMEMLOG_NBYTE(3)
2
3
4
6 pmemlog_nbyte() - checks the amount of usable space in the log pool.
7
9 #include <libpmemlog.h>
10
11 size_t pmemlog_nbyte(PMEMlogpool *plp);
12
14 The pmemlog_nbyte() function checks the amount of usable space in the
15 log plp. This function may be used on a log to determine how much us‐
16 able space is available after libpmemlog(7) has added its metadata to
17 the memory pool.
18
20 The pmemlog_nbyte() function returns the amount of usable space in the
21 log plp.
22
24 libpmemlog(7) and <https://pmem.io>
25
26
27
28PMDK - pmemlog API version 1.1 2020-10-28 PMEMLOG_NBYTE(3)