qalloc_free(3)

πŸ“¦ version 1.22^20251007gitcedb1fc, in fedora 43, fedora 44

✨ NAME ✨

ok so this is the qalloc_free page, from the libqthread manual (section 3, the library calls girlies πŸ’…). It covers three besties: qalloc_free, qalloc_dynfree, and qalloc_statfree β€” they're all about handing an allocated block back to the map. 🫢


🌸 SYNOPSIS 🌸

like, here's the vibe, verbatim bestie:

#include <qthread/qalloc.h>

void
qalloc_free (void *block, void *map);

void
qalloc_statfree (void *block, struct mapinfo_s *map);

void
qalloc_dynfree (void *block, struct dynmapinfo_s *map);

πŸ’– DESCRIPTION πŸ’–

okay so these are the deallocation functions, periodt. Their whole job is giving an allocated memory block back to the qalloc map you point them at. πŸŽ€

And the star of the show, qalloc_free()? She's the flexible one πŸ’… β€” she'll use whichever of the other two functions is appropriate for the given map. So like, she reads the room and picks the right one. main character energy, no cap.


πŸ‘‘ SEE ALSO πŸ‘‘

go read these next, bestie, they're all linked in the group chat:


and that's the whole page, slay ✨ this came from libqthread, dated NOVEMBER 2006 β€” yes she's an elder but she ate and left no crumbs πŸ’œ

πŸ“¦ where this page comes from