fDestroy(3)
π fDestroy(3) β util/ulocks.h
okay bestie, welcome to the fDestroy page, part of the util/ulocks.h family. this is a <util/ulocks.h> situation, and yes, we're about to say goodbye to a lock. it's giving closure. literally. π«Ά
β¨ NAME β¨
fDestroy β destroy a lock. that's it, that's the whole job, and she does it flawlessly. π
πΈ SYNOPSIS πΈ
#include <util/ulocks.h>
void fDestroy(int lock);
look at her. void return, one argument, zero drama. main character energy fr fr. π
π¦ ARGUMENTS π¦
lockβ the lock to destroy. that's the one you're sending off into the void. π
π DESCRIPTION π
fDestroy destroys the lock <lock> that was created by fCreate() or fFind(). so if you made it or you found it, this is the function that takes it out. no cap.
MT-Level: Safe for unique <lock>. π₯
lowkey important: it's safe for a unique <lock> β the same lock being handled by multiple threads at once is a different story, and that story is not this one. π
π RETURN VALUE π
None. she gives you nothing back and she's iconic for it. nothing. nada. the void returns void. β¨
π SEE ALSO π
the whole friend group, obviously β go read these next, iykyk:
mCreate(3)fCreate(3)mUnlock(3)fUnlock(3)cBroadcast(3)cSignal(3)fFind(3)cDestroy(3)cCreate(3)mDestroy(3)cWait(3)fLock(3)fDestroy(3)mLock
(yes, fDestroy(3) is in her own SEE ALSO. self-love, periodt. π)
ClearSilver dropped this one on 12 July 2007 and it's still serving. that's the sign-off bestie, go destroy some locks responsibly. mwah. πβ¨π¦
π¦ 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