pmemlog_nbyte() - checks the amount of usable space in the log pool.
#include <libpmemlog.h> size_t pmemlog_nbyte(PMEMlogpool *plp);
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.
The pmemlog_nbyte() function returns the amount of usable space in the log plp.
libpmemlog(7) and https://pmem.io
The contents of this web site and the associated GitHub repositories are BSD-licensed open source.