TDB_CLOSE(3)
β¨ NAME β¨
tdb_close β close a tdb database. This is the TDB_CLOSE(3) page from the Linux Programmer's Manual, bestie π
π SYNOPSIS π
#include <tdb.h>
int tdb_close(TDB_CONTEXT *tdb);
π«§ DESCRIPTION π«§
Closes a TDB database and frees any memory that was used. It's literally the cleanup era for your tdb, and we love that for it π§Ήβ¨
π RETURN VALUE π
- Returns
0(zero) on success β slay, it worked π - Returns
-1on failure β not the vibe, bestie π
π AUTHORS π
- Software: Andrew Tridgell and Luke Kenneth Casson Leighton
- Man page: Ben Woodard
<ben@valinux.com>
π SEE ALSO π
gdbm(3), tdb(3) β go peek, iykyk π
This page came from Samba, dated Aug 16, 2000 β mwah π
π¦ where this page comes from
- debian bookworm: libtdb-dev 1.4.8-2 Β· LGPL-3.0-or-later
- debian trixie: libtdb-dev 2:1.4.13+samba4.22.10+dfsg-0+deb13u2 Β· GPL-3.0-or-later
- debian trixie: libtdb-dev 2:1.4.13+samba4.22.11+dfsg-0+deb13u1 Β· GPL-3.0-or-later
- ubuntu jammy: libtdb-dev 1.4.5-2build1 Β· LGPL-3.0-or-later
- ubuntu noble: libtdb-dev 1.4.10-1build1 Β· LGPL-3.0-or-later
- ubuntu questing: libtdb-dev 2:1.4.13+samba4.22.3+dfsg-4ubuntu2
- ubuntu questing: libtdb-dev 2:1.4.13+samba4.22.3+dfsg-4ubuntu2.4
- ubuntu resolute: libtdb-dev 2:1.4.14+samba4.23.6+dfsg-1ubuntu2 Β· GPL-3.0-or-later
- ubuntu resolute: libtdb-dev 2:1.4.14+samba4.23.6+dfsg-1ubuntu2.2 Β· GPL-3.0-or-later
- ubuntu stonking: libtdb-dev 2:1.4.15+samba4.24.7+dfsg-1ubuntu1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms