summaryrefslogtreecommitdiff
path: root/lib/libc/db/man
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-07-07 14:22:27 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-07-07 14:22:27 +0000
commitd77b52d76b661c378ed1bea68095c5702ab14418 (patch)
tree16c8d464ebac9d2eee495df7cec34633e282d437 /lib/libc/db/man
parentfb7b06fee746418e9c2b2b8cb8040ff69d698776 (diff)
when using `-' as a negative sign, escape it with a backslash so troff knows
it's not supposed to be a hyphen/dash
Diffstat (limited to 'lib/libc/db/man')
-rw-r--r--lib/libc/db/man/dbopen.316
-rw-r--r--lib/libc/db/man/mpool.38
2 files changed, 12 insertions, 12 deletions
diff --git a/lib/libc/db/man/dbopen.3 b/lib/libc/db/man/dbopen.3
index 35f6886acae..dd029dc6861 100644
--- a/lib/libc/db/man/dbopen.3
+++ b/lib/libc/db/man/dbopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dbopen.3,v 1.12 1999/07/07 10:50:04 aaron Exp $
+.\" $OpenBSD: dbopen.3,v 1.13 1999/07/07 14:22:24 aaron Exp $
.\" $NetBSD: dbopen.3,v 1.6 1995/02/27 13:23:25 cgd Exp $
.\"
.\" Copyright (c) 1997, Phillip F Knaack. All rights reserved.
@@ -185,7 +185,7 @@ or
.Fa sync
function may result in inconsistent or lost information.
.Fa close
-routines return -1 on error (setting
+routines return \-1 on error (setting
.Va errno )
and 0 on success.
.It del
@@ -201,7 +201,7 @@ The cursor must have previously been initialized.
.El
.Pp
.Fa delete
-routines return -1 on error (setting
+routines return \-1 on error (setting
.Va errno ) ,
0 on success, and 1 if the specified
.Fa key
@@ -224,7 +224,7 @@ 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
-routines return -1 on error (setting
+routines return \-1 on error (setting
.Va errno ) ,
and the file descriptor on success.
.It get
@@ -235,7 +235,7 @@ The address and length of the data associated with the specified
are returned in the structure referenced by
.Fa data .
.Fa get
-routines return -1 on error (setting
+routines return \-1 on error (setting
.Va errno ) ,
0 on success, and 1 if the
.Fa key
@@ -290,7 +290,7 @@ routines is to enter the new key/data pair, replacing any previously
existing key.
.Pp
.Fa put
-routines return -1 on error (setting
+routines return \-1 on error (setting
.Va errno ) ,
0 on success, and 1 if the R_NOOVERWRITE
.Fa flag
@@ -353,7 +353,7 @@ access methods because they each imply that the keys have an inherent
order which does not change.
.Pp
.Fa seq
-routines return -1 on error (setting
+routines return \-1 on error (setting
.Va errno ) ,
0 on success and 1 if there are no key/data pairs less than or greater
than the specified or current key.
@@ -382,7 +382,7 @@ manual page for more information.)
.El
.Pp
.Fa sync
-routines return -1 on error (setting
+routines return \-1 on error (setting
.Va errno )
and 0 on success.
.El
diff --git a/lib/libc/db/man/mpool.3 b/lib/libc/db/man/mpool.3
index ba73ea58651..25769f489b3 100644
--- a/lib/libc/db/man/mpool.3
+++ b/lib/libc/db/man/mpool.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mpool.3,v 1.8 1999/07/07 10:50:04 aaron Exp $
+.\" $OpenBSD: mpool.3,v 1.9 1999/07/07 14:22:24 aaron Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -165,14 +165,14 @@ The page has been modified and needs to be written to the backing file.
.El
.Pp
.Fn mpool_put
-returns 0 on success and -1 if an error occurs.
+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
-returns 0 on success and -1 if an error occurs.
+returns 0 on success and \-1 if an error occurs.
.Pp
The
.Fn mpool_close
@@ -182,7 +182,7 @@ Modified pages are
.Em not
written to the backing file.
.Fn mpool_close
-returns 0 on success and -1 if an error occurs.
+returns 0 on success and \-1 if an error occurs.
.Sh ERRORS
The
.Fn mpool_open