SysTutorials

Linux Manual Pages › Section 3

fdestroy(3)

fDestroy – destroy a lock.

Synopsis

#include <util/ulocks.h>
void fDestroy(int lock);

Arguments

lock – Lock to destroy.

Description

Destroys the lock <lock> that was created by fCreate() or fFind().

MT-Level: Safe for unique <lock>.

Return Value

None.

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