logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

BUF_UNLOCK — unlocks a locked buffer

Authors

       This manual page was written by Chad David <davidc@acns.ab.ca>.

Debian                                            July 9, 2001                                     BUF_UNLOCK(9)

Description

       The BUF_UNLOCK() function unlocks a buffer that was previously locked with BUF_LOCK() or BUF_TIMELOCK().

       Its argument is:

       bp  The buffer to unlock.  The buffer must already be locked.

Name

       BUF_UNLOCK — unlocks a locked buffer

See Also

buf(9), BUF_LOCK(9), BUF_TIMELOCK(9), lockmgr(9)

Synopsis

#include<sys/param.h>#include<sys/systm.h>#include<sys/uio.h>#include<sys/bio.h>#include<sys/buf.h>voidBUF_UNLOCK(structbuf*bp);

See Also