tdb_exists.3

来自「Linux下的一个关系数据库源代码」· 3 代码 · 共 38 行

3
38
字号
.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 + =
减小字号Ctrl + -
显示快捷键?