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

πŸ’– iarray_free(3) β€” it's giving "Library Functions Manual", bestie πŸ’–

okay so like. hi. welcome to the iarray_free page, from the Library Functions Manual, and yes we're doing this whole thing together, grab a boba πŸ§‹


✨ NAME ✨

iarray_free β€” free an iarray data structure 🫢


🌸 SYNTAX 🌸

#include <libowfat/iarray.h>

void iarray_free(iarray* x);

no cap, that's the whole thing. one include, one function, one pointer. iconic honestly πŸ‘‘


πŸ’… DESCRIPTION πŸ’…

iarray_free frees the iarray and all elements in it. like, all of them. every single element. it's not doing a little half-cleanup, it's doing the whole send-off 🌈✨

🚨 THE WARNING, bestie, listen to me: using the array during or after iarray_free results in undefined behavior. not "probably fine", not "vibes-based", literally undefined. once you call this, that array is gone gone. do not touch. do not peek. do not "just check one element real quick". that's the vibe check and you will fail it πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

(yes, iarray_allocate(3) is listed twice. that's not me being clumsy, that's literally what the page says, and I am nothing if not faithful to the source, fr fr πŸ™ˆπŸ’–)


and that's the whole page!! thank you for coming to my ted talk, this was iarray_free(3) from the Library Functions Manual, mwah, drink water, free your memory responsibly πŸ’œ