diff options
author | pfg <pfg@FreeBSD.org> | 2015-03-23 19:50:21 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2015-03-23 19:50:21 +0000 |
commit | b56d80f032bbae09a3aa86d5b67d88cd6051f8a2 (patch) | |
tree | 8eb5fa2c1d0449e8c9244dd6b01da257030a30a6 /lib/libc/db | |
parent | 4b3661b3a78dc737e0be3bc94b29dad1b80fa79e (diff) | |
download | FreeBSD-src-b56d80f032bbae09a3aa86d5b67d88cd6051f8a2.zip FreeBSD-src-b56d80f032bbae09a3aa86d5b67d88cd6051f8a2.tar.gz |
MFC r279037:
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
Diffstat (limited to 'lib/libc/db')
-rw-r--r-- | lib/libc/db/man/dbm.3 | 6 |
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 |