array_trunc(3)
β¨ 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 πππ¦
π¦ 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