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 -1 on 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 πŸ’‹