pmemlog_nbyte - Man Page

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 <https://pmem.io>

Referenced By

libpmemlog(7), pmemlog_create(3).

2020-01-31 PMDK - pmemlog API version 1.1 PMDK Programmer's Manual