fCreate(3)
π fCreate(3) π
okay bestie, so this one lives in util/ulocks.h and it's literally just called fCreate β she creates a file lock. that's the whole vibe. slay β¨
πΈ SYNOPSIS πΈ
#include <util/ulocks.h>
NEOERR *fCreate(int *plock, const char *file);
π ARGUMENTS π
plockβ this is where the lock goes. like, the little spot you're reserving for it to live. π«Άfileβ the path of the file you're using as the lock. yes, that file. the lock file. she's the moment. π
π¦ DESCRIPTION π¦
so what she does is: creates a file lock on the named file file. and then the lock itself gets returned in plock. that's it, that's the whole thing. no cap. β¨
MT-Level: Safe. β so you can use her from multiple threads and she will not betray you. iconic behaviour, honestly. π
π RETURN VALUE π
plockβ gets set to the lock identifier. so when you look in there afterwards, boom, that's your lock id. π
π₯ SEE ALSO π₯
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
like if you're into this one you're gonna wanna meet the whole friend group fr fr π
mwah, that's a wrap bestie π this was ClearSilver, dated 12 July 2007 β old money but she still ate πβ¨π¦
π¦ 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