⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tdb_exists.3

📁 Linux下的一个关系数据库源代码
💻 3
字号:
.TH tdb_exists "Aug 17, 2000" "Samba" "Linux Programmer's Manual".SH NAMEtdb_exists - check for the existence of a record in a tdb database.SH SYNOPSIS.nf.B #include <tdb.h>.sp.BI "int tdb_exists(TDB_CONTEXT *" tdb ", TDB_DATA " key ");".sp.SH DESCRIPTIONTest to see if a key exists..I tdb is a pointer returned by .B tdb_openand .I key is a lump of data that is used as the index into the database. The TDB_DATAstructure is defined as:.PP.RS.nftypedef struct {	char *dptr;	size_t dsize;} TDB_DATA;.fi.RE.PP.SH "RETURN VALUE"If the key is found, 1 is returned; otherwise 0 is returned..SH AUTHORSSoftware: Andrew Tridgell <tridge@linuxcare.com> and Luke Kenneth Casson LeightonMan page: Ben Woodard <ben@valinux.com>.SH "SEE ALSO".BR gdbm (3),.BR tdb(3)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -