.\" Automatically generated by Pandoc 2.10.1 .\" .TH "PMEMLOG_NBYTE" "3" "2020-10-28" "PMDK - pmemlog API version 1.1" "PMDK Programmer's Manual" .hy .\" SPDX-License-Identifier: BSD-3-Clause .\" Copyright 2017-2018, Intel Corporation .SH NAME .PP \f[B]pmemlog_nbyte\f[R]() - checks the amount of usable space in the log pool. .SH SYNOPSIS .IP .nf \f[C] #include size_t pmemlog_nbyte(PMEMlogpool *plp); \f[R] .fi .SH DESCRIPTION .PP The \f[B]pmemlog_nbyte\f[R]() function checks the amount of usable space in the log \f[I]plp\f[R]. This function may be used on a log to determine how much usable space is available after \f[B]libpmemlog\f[R](7) has added its metadata to the memory pool. .SH RETURN VALUE .PP The \f[B]pmemlog_nbyte\f[R]() function returns the amount of usable space in the log \f[I]plp\f[R]. .SH SEE ALSO .PP \f[B]libpmemlog\f[R](7) and \f[B]\f[R]