summaryrefslogtreecommitdiffstats
path: root/lib/libc/db/man/dbm.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/db/man/dbm.3')
-rw-r--r--lib/libc/db/man/dbm.36
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/db/man/dbm.3 b/lib/libc/db/man/dbm.3
index a78d35a..1fd4d85 100644
--- a/lib/libc/db/man/dbm.3
+++ b/lib/libc/db/man/dbm.3
@@ -77,7 +77,9 @@ The
.Fn dbm_open base flags mode
function
opens or creates a database.
+The
.Fa base
+argument
is the basename of the file containing
the database; the actual database has a
.Pa .db
@@ -88,9 +90,11 @@ is
.Qq Li /home/me/mystuff
then the actual database is in the file
.Pa /home/me/mystuff.db .
+The
.Fa flags
and
.Fa mode
+arguments
are passed to
.Xr open 2 .
.Pq Dv O_RDWR | O_CREAT
@@ -129,7 +133,9 @@ The
.Fn dbm_store db key data flags
function
inserts or replaces an entry in the database.
+The
.Fa flags
+argument
is either
.Dv DBM_INSERT
or
OpenPOWER on IntegriCloud