📄 tdb_chainlock.3
字号:
.TH tdb_chainlock "Oct 13, 2000" "Samba" "Linux Programmer's Manual".SH NAMEtdb_chainlock - lock a group of keystdb_chainunlock - unlock a previously locked group of keys.SH SYNOPSIS.nf.B #include <tdb.h>.sp.BI "int tdb_chainlock(TDB_CONTEXT *" tdb ", TDB_DATA " key ");".BI "void tdb_chainunlock(TDB_CONTEXT *" tdb ", TDB_DATA " key ");".sp.SH DESCRIPTION.I tdb_chainlock is a low-level function used to lock a particular key (and a number ofother keys) without any checking: any other process attempting toperform tdb operations on those keys will block until.I tdb_chainunlockis called..SH NOTESIt is the user's responsibility to ensure that they do not deadlockthe database using these functions: something which is impossibleusing the other access functions..SH "RETURN VALUE"A return value of 0 indicates success and -1 indicates failure..SH AUTHORSSoftware: Andrew Tridgell <tridge@linuxcare.com>Man page: Rusty..SH "SEE ALSO".BR gdbm (3),.BR tdb (3),.BR tdb_lockall (3).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -