buffer_seek(3)
π¦ buffer_seek(3) π¦
okay bestie, welcome to the Library Functions Manual corner of the internet, where today's main character is buffer_seek β¨
β¨ NAME β¨
buffer_seekβ removes bytes from the beginning of a string in a buffer π
that's it. that's the gig. she's a simple girl with a simple job.
π SYNTAX π
#include <libowfat/buffer.h>
ssize_t buffer_seek(buffer* b,size_t r);
π DESCRIPTION π
so like, buffer_seek removes r bytes from the beginning of the string. gone. deleted. not me chopping off the front of your string bestie π
one tiny lil rule though:
rcan not be larger than the maximum value thatssize_tcan represent. that's the ceiling, and you do not get to go past it. no cap.
πΈ RETURN VALUE πΈ
Returns r (or -1 on error). that's the tea π
π SEE ALSO π
go read those too, they're iconic, iykyk π
and that's the whole page, bestie π the footer's just buffer_seek(3) and the header's rocking the Library Functions Manual label β no version, no date, just pure unproblematic function energy. slay, periodt. π¦β¨
π¦ where this page comes from
- alpine 3.24: libowfat-doc 0.34-r0 Β· 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 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