array_trunc(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

✨ array_trunc(3) ✨

okay bestie, this one's from the Library Functions Manual and it's genuinely the shortest glow-up in the whole libowfat family, so let's go πŸ’–


πŸŽ€ NAME πŸŽ€

array_trunc β€” reduce number of initialized bytes


🌸 SYNTAX 🌸

#include <libowfat/array.h>

void array_trunc(array* x);

and like, in actual use, it's giving:

array x;
array_trunc(&x);

πŸ’… DESCRIPTION πŸ’…

okay so real talk: array_trunc is literally just array_truncate with len set equal to 0. that's it. that's the whole vibe. no cap, it's the low-effort icon of the array API 🫢


πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page, bestie, short and slay as always ✨ this was array_trunc(3) from the Library Functions Manual β€” mwah, go truncate something responsibly πŸ’–πŸŒˆπŸ¦‹