---
name: "pmemlog_nbyte"
section: "3"
platform: "linux"
package: "libpmemlog-dev"
version: "1.13.1-1.1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pmemlog_nbyte"
---

# pmemlog\_nbyte(3)

checks the amount of usable space in the log pool.

## NAME

**pmemlog\_nbyte**()(DEPRECATED) - 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)](/libpmemlog/7.md) 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)](/libpmemlog/7.md) and **\<https://pmem.io\>**
