pmemlog_nbyte man page

pmemlog_nbyte() — checks the amount of usable space in the log pool.

Synopsis

#include <libpmemlog.h>

size_t pmemlog_nbyte(PMEMlogpool *plp);

Description

The pmemlog_nbyte() function checks the amount of usable space in the log plp. This function may be used on a log to determine how much usable space is available after libpmemlog(7) has added its metadata to the memory pool.

Return Value

The pmemlog_nbyte() function returns the amount of usable space in the log plp.

See Also

libpmemlog(7) and <http://pmem.io>

Referenced By

libpmemlog(7), pmemlog_create(3).

2019-07-10 PMDK - pmemlog API version 1.1 PMDK Programmer's Manual