PMEMLOG_NBYTE(3)
β¨ NAME β¨
pmemlog_nbyte() (DEPRECATED) β the little function that checks how much usable space is chillin' in your log pool π
okay so real talk first, bestie: this one is DEPRECATED, which is the polite Unix way of saying "she's retired, don't build your whole personality around her." But the lore still matters, so let's go π
πΈ SYNOPSIS πΈ
#include <libpmemlog.h>
size_t pmemlog_nbyte(PMEMlogpool *plp);
π¦ DESCRIPTION π¦
So pmemlog_nbyte() checks the amount of usable space in the log plp. That's it. That's the whole job. She's a one-trick pony and honestly? Iconic for it π
Here's the tea though β this function is meant to be used on a log to figure out how much usable space is actually available after libpmemlog(7) has already added its metadata to the memory pool. Because the metadata takes up room, babes. The pool isn't all yours. She took her cut first, and pmemlog_nbyte() is the one who tells you what's left in the pot π
π RETURN VALUE π
The pmemlog_nbyte() function returns the amount of usable space in the log plp. That's the number, that's the vibe, no notes β¨
π SEE ALSO π
and that's a wrap on the PMDK Programmer's Manual, section 3, dated 2023-05-31 β mwah, go touch some persistent memory, bestie π«Άπ
π¦ where this page comes from
- debian trixie: libpmemlog-dev 1.13.1-1.1+b1 Β· BSD-3-Clause
- ubuntu noble: libpmemlog-dev 1.13.1-1.1ubuntu2 Β· BSD-3-Clause
- ubuntu questing: libpmemlog-dev 1.13.1-1.1ubuntu3
- ubuntu resolute: libpmemlog-dev 1.13.1-1.1ubuntu4 Β· BSD-3-Clause
- ubuntu stonking: libpmemlog-dev 1.13.1-1.1ubuntu5 Β· BSD-3-Clause
- π the page's license: BSD-3-Clause
- Copyright 2017-2023, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms