svn commit: r279037 - head/lib/libc/db/man
Pedro F. Giffuni
pfg at FreeBSD.org
Fri Feb 20 01:31:11 UTC 2015
Author: pfg
Date: Fri Feb 20 01:31:10 2015
New Revision: 279037
URL: https://svnweb.freebsd.org/changeset/base/279037
Log:
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
Modified:
head/lib/libc/db/man/dbm.3
Modified: head/lib/libc/db/man/dbm.3
==============================================================================
--- head/lib/libc/db/man/dbm.3 Fri Feb 20 01:03:44 2015 (r279036)
+++ head/lib/libc/db/man/dbm.3 Fri Feb 20 01:31:10 2015 (r279037)
@@ -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
More information about the svn-src-head
mailing list