skipFreeList(3)
β¨ skipFreeList(3) β¨
okay bestie, gather round, because today we're talking about skipFreeList from the util/skiplist.h family of icons π
she lives in section 3 of the manual (the library-calls girlies) and her whole job is, and I cannot stress this enough, letting go π¦
πΈ NAME πΈ
skipFreeList β free a skip list. that's it. that's the whole vibe. she frees, she slays, she goes home π
π SYNOPSIS π
#include <util/skiplist.h>
void skipFreeList(skipList list);
like yes, include the header first, obviously, we're not animals π
π ARGUMENTS π
listβ the list you want to free. that's the one. the list. free her. set her free ποΈ
π DESCRIPTION π
Release all resources used by <list> β and when I say all, I mean ALL β including every single key/value pair hanging out in there. no stragglers, no leftovers, no little orphaned keys crying in the corner π she takes the whole thing down.
ngl this is the "burn it all down, we're done here" function and honestly? iconic.
MT-Level: Safe for unique <list>.
which lowkey means: you can call her from multiple threads, but only if each thread has its own unique <list>. don't be sharing one list across threads and then freeing it, bestie, that's not the move π
π RETURN VALUE π
None.</purpose>
yeah she returns nothing. she just does the thing. no receipt, no note, just vibes and reclaimed memory β¨
π SEE ALSO π
(and yes, skipFreeList(3) is listed in her own SEE ALSO, which is giving main character energy honestly, she's her own reference π«Ά and skipNewList is just out here with no section number, we love a mysterious queen π§)
ClearSilver π 12 July 2007 π that's the source and the date, mwah, go free your lists responsibly, ily, bye πππ¦
π¦ where this page comes from
- debian bookworm: clearsilver-dev 0.10.5-4+b5
- debian trixie: clearsilver-dev 0.10.5-6+b1
- epel 10: clearsilver 0.10.5-80.el10_2 Β· Apache-1.1
- epel 9: clearsilver 0.10.5-74.el9 Β· Apache-1.1
- fedora 43: clearsilver 0.10.5-80.fc43 Β· Apache-1.1
- fedora 44: clearsilver 0.10.5-82.fc44 Β· Apache-1.1
- ubuntu jammy: clearsilver-dev 0.10.5-4build3
- ubuntu noble: clearsilver-dev 0.10.5-4build7
- ubuntu questing: clearsilver-dev 0.10.5-6build1
- ubuntu resolute: clearsilver-dev 0.10.5-7
- ubuntu stonking: clearsilver-dev 0.10.5-7build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms