buffer_getc(3)
β¨ buffer_getc(3) β¨
okay so bestie, welcome to buffer_getc from the Library Functions Manual, section 3 β it's the libowfat girlies' lil one-char-at-a-time moment and honestly? she's serving simplicity. π
πΈ NAME πΈ
buffer_getc β read one char from buffer π
like, one (1) single char. that's the whole job. no cap. π¦
π«Ά SYNTAX π«Ά
#include <libowfat/buffer.h>
int buffer_getc(buffer* b,char* x);
yeah she takes a buffer* and a char* and hands you back an int. iconic behaviour, no notes. β
π DESCRIPTION π
buffer_getc(b,x) is similar to buffer_get(b,x,1).
that's it, that's the lore π β it's literally just the "gimme exactly one char" shortcut, i.e. the buffer_get girlies with the length hardwired to 1. if you already know buffer_get, you already know her. iykyk. π
π SEE ALSO π
go read the whole friend group, they're all connected besties π§β¨
and that's the page!! the tag on this one is just buffer_getc(3) β no source, no version, no date dropped anywhere on it, so that's all the sign-off we get, and we're obsessed with the minimalism fr fr ππ«Ά
π¦ where this page comes from
- alpine 3.24: libowfat-doc 0.34-r0 Β· GPL-2.0-only
- debian bookworm: libowfat-dev 0.32-4 Β· GPL-2.0-only
- debian trixie: libowfat-dev 0.32-5 Β· GPL-2.0-only
- nixos 26.05: libowfat 0.34
- nixpkgs unstable: libowfat 0.34
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- ubuntu noble: libowfat-dev 0.32-4.1build1 Β· GPL-2.0-only
- ubuntu questing: libowfat-dev 0.32-5
- ubuntu resolute: libowfat-dev 0.34-2 Β· GPL-2.0-only
- ubuntu stonking: libowfat-dev 0.34-2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms