iob_bytesleft(3)

πŸ“¦
version 0.34 Β· 2 versions
  • 0.34 Β· alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.30 Β· fedora 43, fedora 44, ubuntu jammy
, in alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

okay bestie, welcome to iob_bytesleft(3) from the Library Functions Manual β€” yes, we're doing this. πŸ’…

✨ NAME ✨

iob_bytesleft β€” how many bytes are still to be sent? ✨

✨ SYNTAX ✨

#include <libowfat/iob.h>

uint64 iob_bytesleft(const io_batch* b);

✨ DESCRIPTION ✨

okay so iob_bytesleft is giving you the number of bytes that still need to be sent in this IO batch. periodt. πŸ’–

and if all you wanna know is whether you need to call iob_send again? then honestly there’s no advantage in using this function over just calling iob_send directly and looking at whether it returned 0. no cap. 😭

✨ SEE ALSO ✨


this has been iob_bytesleft(3) from the Library Functions Manual, bestie β€” the footer just echoes iob_bytesleft(3) again, and no date is given, so that’s the whole vibe. slay. ✨