diff options
author | 1999-02-27 21:54:48 +0000 | |
---|---|---|
committer | 1999-02-27 21:54:48 +0000 | |
commit | 960f8fbd44b728dd399b6f0cecfac7f0443ae77a (patch) | |
tree | 7c7161599c52771fdf4d5c9d491663056a570428 /lib/libc/db | |
parent | do not divide by zero; helbig@Informatik.BA-Stuttgart.DE (diff) | |
download | wireguard-openbsd-960f8fbd44b728dd399b6f0cecfac7f0443ae77a.tar.xz wireguard-openbsd-960f8fbd44b728dd399b6f0cecfac7f0443ae77a.zip |
make function names the correct case
Diffstat (limited to 'lib/libc/db')
-rw-r--r-- | lib/libc/db/man/dbopen.3 | 16 | ||||
-rw-r--r-- | lib/libc/db/man/mpool.3 | 10 |
2 files changed, 13 insertions, 13 deletions
diff --git a/lib/libc/db/man/dbopen.3 b/lib/libc/db/man/dbopen.3 index 4f1dc27a4ba..65d6ea47db9 100644 --- a/lib/libc/db/man/dbopen.3 +++ b/lib/libc/db/man/dbopen.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dbopen.3,v 1.5 1999/02/26 06:55:53 millert Exp $ +.\" $OpenBSD: dbopen.3,v 1.6 1999/02/27 21:54:56 deraadt Exp $ .\" $NetBSD: dbopen.3,v 1.6 1995/02/27 13:23:25 cgd Exp $ .\" .\" Copyright (c) 1997, Phillip F Knaack. All rights reserved. @@ -182,7 +182,7 @@ with a or .Fa sync function may result in inconsistent or lost information. -.Fa Close +.Fa close routines return -1 on error (setting .Va errno ) and 0 on success. @@ -198,7 +198,7 @@ Delete the record referenced by the cursor. The cursor must have previously been initialized. .El .Pp -.Fa Delete +.Fa delete routines return -1 on error (setting .Va errno ) , 0 on success, and 1 if the specified @@ -221,7 +221,7 @@ locking functions. The file descriptor is not necessarily associated with any of the underlying files used by the access method. No file descriptor is available for in memory databases. -.Fa Fd +.Fa fd routines return -1 on error (setting .Va errno ) , and the file descriptor on success. @@ -232,7 +232,7 @@ The address and length of the data associated with the specified .Fa key are returned in the structure referenced by .Fa data . -.Fa Get +.Fa get routines return -1 on error (setting .Va errno ) , 0 on success, and 1 if the @@ -287,7 +287,7 @@ The default behavior of the routines is to enter the new key/data pair, replacing any previously existing key. .Pp -.Fa Put +.Fa put routines return -1 on error (setting .Va errno ) , 0 on success, and 1 if the R_NOOVERWRITE @@ -350,7 +350,7 @@ R_LAST and R_PREV are available only for the DB_BTREE and DB_RECNO access methods because they each imply that the keys have an inherent order which does not change. .Pp -.Fa Seq +.Fa seq routines return -1 on error (setting .Va errno ) , 0 on success and 1 if there are no key/data pairs less than or greater @@ -379,7 +379,7 @@ field of the manual page for more information.) .El .Pp -.Fa Sync +.Fa sync routines return -1 on error (setting .Va errno ) and 0 on success. diff --git a/lib/libc/db/man/mpool.3 b/lib/libc/db/man/mpool.3 index 7f426b66b0c..b91475a1ca2 100644 --- a/lib/libc/db/man/mpool.3 +++ b/lib/libc/db/man/mpool.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mpool.3,v 1.3 1999/02/26 06:54:50 millert Exp $ +.\" $OpenBSD: mpool.3,v 1.4 1999/02/27 21:54:57 deraadt Exp $ .\" .\" Copyright (c) 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -151,7 +151,7 @@ The function .Fn mpool_put unpins the page referenced by .Fa pgaddr . -.Fa Pgaddr +.Fa pgaddr must be an address previously returned by .Fn mpool_get or @@ -164,14 +164,14 @@ the following values: The page has been modified and needs to be written to the backing file. .El .Pp -.Fn Mpool_put +.Fn mpool_put returns 0 on success and -1 if an error occurs. .Pp The function .Fn mpool_sync writes all modified pages associated with the MPOOL pointer to the backing file. -.Fn Mpool_sync +.Fn mpool_sync returns 0 on success and -1 if an error occurs. .Pp The @@ -181,7 +181,7 @@ cookie. Modified pages are .Em not written to the backing file. -.Fn Mpool_close +.Fn mpool_close returns 0 on success and -1 if an error occurs. .Sh ERRORS The |