TERMKEY_GE..._REMAINING(3)
π TERMKEY_GE..._REMAINING(3) π
okay bestie, so this is a page from the Library Functions Manual and it's literally called TERMKEY_GE..._REMAINING(3) β yes the name is squished with ellipsis dots, that's just how the man page header rolls, don't panic π«Ά
β¨ NAME β¨
termkey_get_buffer_remaining β returns the free buffer space π
πΈ SYNOPSIS πΈ
#include <termkey.h>
size_t termkey_get_buffer_remaining(TermKey *tk);
Link with -ltermkey.
π¦ DESCRIPTION π¦
so termkey_get_buffer_remaining() hands you back the number of bytes of buffer space that are currently free inside your termkey(7) instance. that's it, that's the whole job, she's a one-trick pony and she ate π
β¨
those free bytes are yours to fill via termkey_push_bytes(3), or they might get filled up for you by termkey_advisereadable(3). either way, they're up for grabs π
β RETURN VALUE β
termkey_get_buffer_remaining() returns a size in bytes. slay. π«Ά
π₯ SEE ALSO π₯
termkey_push_bytes(3)termkey_advisereadable(3)termkey_set_buffer_size(3)termkey_get_buffer_size(3)termkey_getkey(3)termkey(7)
and that's the whole vibe bestie π this was TERMKEY_GE..._REMAINING(3) from the Library Functions Manual β go forth and count your free bytes, no cap ππ
π¦ where this page comes from
- alpine 3.24: libtermkey-doc 0.22-r4 Β· MIT
- debian trixie: libtermkey-dev 0.22-2+b1 Β· MIT
- epel 10: libtermkey-devel 0.22-2.el10_0 Β· MIT
- epel 9: libtermkey-devel 0.22-2.el9 Β· MIT
- fedora 43: libtermkey-devel 0.22-11.fc43 Β· MIT
- fedora 43: libtermkey-devel 0.22-11.fc43 Β· MIT
- fedora 44: libtermkey-devel 0.22-12.fc44 Β· MIT
- fedora 44: libtermkey-devel 0.22-12.fc44 Β· MIT
- nixos 26.05: libtermkey 0.22
- nixpkgs unstable: libtermkey 0.22
- opensuse-leap 16.0: libtermkey-devel 0.22-bp160.1.11 Β· MIT
- opensuse-leap 16.0: libtermkey-devel 0.22-bp160.1.11 Β· MIT
- opensuse-leap 16.0: libtermkey-devel 0.22-bp160.1.11 Β· MIT
- opensuse-leap 16.0: libtermkey-devel 0.22-bp160.1.11 Β· MIT
- ubuntu questing: libtermkey-dev 0.22-2
- ubuntu resolute: libtermkey-dev 0.22-2build1 Β· MIT
- ubuntu stonking: libtermkey-dev 0.22-3 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms