summaryrefslogtreecommitdiffstats
path: root/debian/manpages/tdb_delete.3
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 16:49:38 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 16:49:38 +0000
commit65fbc59ab338590dff1fc4b64efadc8c8dd1f225 (patch)
treeb8679db8dd0d560db01ed978e5243cdfe1acdb3f /debian/manpages/tdb_delete.3
parentAdding upstream version 1.4.10. (diff)
downloadtdb-debian.tar.xz
tdb-debian.zip
Adding debian version 1.4.10-1.debian/1.4.10-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/manpages/tdb_delete.3')
-rw-r--r--debian/manpages/tdb_delete.335
1 files changed, 35 insertions, 0 deletions
diff --git a/debian/manpages/tdb_delete.3 b/debian/manpages/tdb_delete.3
new file mode 100644
index 0000000..dd3d0ad
--- /dev/null
+++ b/debian/manpages/tdb_delete.3
@@ -0,0 +1,35 @@
+.TH TDB_DELETE 3 "Aug 16, 2000" "Samba" "Linux Programmer's Manual"
+.SH NAME
+tdb_delete \- delete a record from a tdb database
+.SH SYNOPSIS
+.nf
+.B #include <tdb.h>
+.sp
+.BI "int tdb_delete(TDB_CONTEXT *" tdb ", TDB_DATA " key ");"
+.sp
+.SH DESCRIPTION
+Delete the record from the
+.I tdb
+database whose key matches
+.I key
+, a lump of data that is used as the index into the database. The
+TDB_DATA structure is defined as:
+.PP
+.RS
+.nf
+typedef struct {
+ char *dptr;
+ size_t dsize;
+} TDB_DATA;
+.fi
+.RE
+.PP
+.SH "RETURN VALUE"
+A return value of 0 indicates success and \-1 indicates failure.
+.SH AUTHORS
+Software: Andrew Tridgell <tridge@linuxcare.com> and
+Luke Kenneth Casson Leighton
+Man page: Ben Woodard <ben@valinux.com>
+.SH "SEE ALSO"
+.BR gdbm (3),
+.BR tdb(3)