qalloc_free(3)
β¨ 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
- fedora 43: qthreads-devel 1.22^20251007gitcedb1fc-1.fc43 Β· BSD-3-Clause AND MIT AND dtoa
- fedora 44: qthreads-devel 1.22^20251007gitcedb1fc-2.fc44 Β· BSD-3-Clause AND MIT AND dtoa
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms