summaryrefslogtreecommitdiffstats
path: root/lib/libc/db
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2015-02-20 01:31:10 +0000
committerpfg <pfg@FreeBSD.org>2015-02-20 01:31:10 +0000
commit579c83b67c6c51404a77fc446b06fc046f541031 (patch)
tree6953ab24a80f29ae21ca025b94cfaa8905dbf2bb /lib/libc/db
parentaef2a8879198b292401276632f93402f2c715a14 (diff)
downloadFreeBSD-src-579c83b67c6c51404a77fc446b06fc046f541031.zip
FreeBSD-src-579c83b67c6c51404a77fc446b06fc046f541031.tar.gz
dbm_delete(3) correct man page to match current behaviour.
"The dbm_store() and dbm_delete() functions shall return 0 when they succeed and a negative value when they fail." Reference: http://pubs.opengroup.org/onlinepubs/9699919799/functions/dbm_clearerr.html PR: 42422 Suggested by: delphij MFC after: 3 days
Diffstat (limited to 'lib/libc/db')
-rw-r--r--lib/libc/db/man/dbm.36
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/db/man/dbm.3 b/lib/libc/db/man/dbm.3
index fabce8a..eedf804 100644
--- a/lib/libc/db/man/dbm.3
+++ b/lib/libc/db/man/dbm.3
@@ -15,7 +15,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 16, 2006
+.Dd February 19, 2015
.Dt DBM 3
.Os
.Sh NAME
@@ -174,9 +174,7 @@ deletes the entry for
The
.Fn dbm_delete
function
-normally returns zero but returns 1 if there was no entry with
-.Fa key
-in the database or returns -1 and sets
+normally returns zero or returns -1 and sets
.Va errno
if there were any errors.
.Pp
OpenPOWER on IntegriCloud