summaryrefslogtreecommitdiff
path: root/lib
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
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')
-rw-r--r--lib/libarch/i386/i386_get_ioperm.24
-rw-r--r--lib/libarch/i386/i386_get_ldt.22
-rw-r--r--lib/libarch/i386/i386_iopl.24
-rw-r--r--lib/libarch/i386/i386_vm86.24
-rw-r--r--lib/libc/compat-43/killpg.34
-rw-r--r--lib/libc/compat-43/setregid.38
-rw-r--r--lib/libc/compat-43/setreuid.36
-rw-r--r--lib/libc/compat-43/sigpause.34
-rw-r--r--lib/libc/db/man/dbopen.316
-rw-r--r--lib/libc/db/man/mpool.38
-rw-r--r--lib/libc/rpc/bindresvport.34
-rw-r--r--lib/libc/stdio/printf.34
-rw-r--r--lib/libc/stdio/remove.34
-rw-r--r--lib/libc/time/ctime.34
-rw-r--r--lib/libedit/editline.38
-rw-r--r--lib/libkeynote/keynote.16
-rw-r--r--lib/libkeynote/keynote.340
-rw-r--r--lib/libkvm/kvm_dump.34
-rw-r--r--lib/libkvm/kvm_nlist.34
-rw-r--r--lib/libkvm/kvm_open.34
-rw-r--r--lib/libkvm/kvm_read.34
-rw-r--r--lib/libutil/openpty.34
-rw-r--r--lib/libutil/pw_lock.32
-rw-r--r--lib/libutil/uucplock.34
24 files changed, 78 insertions, 78 deletions
diff --git a/lib/libarch/i386/i386_get_ioperm.2 b/lib/libarch/i386/i386_get_ioperm.2
index d6af07eaf0c..1c5c6772dcd 100644
--- a/lib/libarch/i386/i386_get_ioperm.2
+++ b/lib/libarch/i386/i386_get_ioperm.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: i386_get_ioperm.2,v 1.5 1997/07/23 20:41:10 kstailey Exp $
+.\" $OpenBSD: i386_get_ioperm.2,v 1.6 1999/07/07 14:22:24 aaron Exp $
.\" $NetBSD: i386_get_ioperm.2,v 1.3 1996/02/27 22:57:17 jtc Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@ Upon successful completion,
and
.Fn i386_set_ioperm
return 0.
-Otherwise, a value of -1 is returned and the global
+Otherwise, a value of \-1 is returned and the global
variable
.Va errno
is set to indicate the error.
diff --git a/lib/libarch/i386/i386_get_ldt.2 b/lib/libarch/i386/i386_get_ldt.2
index 0f6f910120e..05d7888d8b6 100644
--- a/lib/libarch/i386/i386_get_ldt.2
+++ b/lib/libarch/i386/i386_get_ldt.2
@@ -74,7 +74,7 @@ Upon successful completion,
returns the number of descriptors currently in the LDT.
.Fn i386_set_ldt
returns the first selector set.
-Otherwise, a value of -1 is returned and the global
+Otherwise, a value of \-1 is returned and the global
variable
.Va errno
is set to indicate the error.
diff --git a/lib/libarch/i386/i386_iopl.2 b/lib/libarch/i386/i386_iopl.2
index 10b5bf62745..0b4c63ccc61 100644
--- a/lib/libarch/i386/i386_iopl.2
+++ b/lib/libarch/i386/i386_iopl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: i386_iopl.2,v 1.7 1999/05/16 19:54:40 alex Exp $
+.\" $OpenBSD: i386_iopl.2,v 1.8 1999/07/07 14:22:24 aaron Exp $
.\" $NetBSD: i386_iopl.2,v 1.3 1996/02/27 22:57:25 jtc Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -55,7 +55,7 @@ This call is restricted to the super-user.
Upon successful completion,
.Fn i386_iopl
returns 0.
-Otherwise, a value of -1 is returned and the global
+Otherwise, a value of \-1 is returned and the global
variable
.Va errno
is set to indicate the error.
diff --git a/lib/libarch/i386/i386_vm86.2 b/lib/libarch/i386/i386_vm86.2
index 11c01c323d9..2ef617df3af 100644
--- a/lib/libarch/i386/i386_vm86.2
+++ b/lib/libarch/i386/i386_vm86.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: i386_vm86.2,v 1.3 1997/07/23 20:41:12 kstailey Exp $
+.\" $OpenBSD: i386_vm86.2,v 1.4 1999/07/07 14:22:24 aaron Exp $
.\" $NetBSD: i386_vm86.2,v 1.1 1996/02/21 00:21:52 jtk Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -89,7 +89,7 @@ register is
.Sh RETURN VALUES
This routine does not normally return: 32-bit mode will be restored by
the delivery of a signal to the process. In case of an error in setting
-the VM86 mode, a value of -1 is returned and the global variable
+the VM86 mode, a value of \-1 is returned and the global variable
.Va errno
is set to indicate the error.
.Sh ERRORS
diff --git a/lib/libc/compat-43/killpg.3 b/lib/libc/compat-43/killpg.3
index 40ee6df31b7..2cb71b2ad9f 100644
--- a/lib/libc/compat-43/killpg.3
+++ b/lib/libc/compat-43/killpg.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: killpg.3,v 1.5 1999/05/23 14:10:57 aaron Exp $
+.\" $OpenBSD: killpg.3,v 1.6 1999/07/07 14:22:24 aaron Exp $
.\"
.Dd March 10, 1991
.Dt KILLPG 3
@@ -63,7 +63,7 @@ As a single special case the continue signal SIGCONT may be sent
to any process that is a descendant of the current process.
.Sh RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise,
-a value of -1 is returned and the global variable
+a value of \-1 is returned and the global variable
.Va errno
is set to indicate the error.
.Sh ERRORS
diff --git a/lib/libc/compat-43/setregid.3 b/lib/libc/compat-43/setregid.3
index 9ba7b4b7763..cd02537374d 100644
--- a/lib/libc/compat-43/setregid.3
+++ b/lib/libc/compat-43/setregid.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: setregid.3,v 1.4 1999/05/25 13:06:44 aaron Exp $
+.\" $OpenBSD: setregid.3,v 1.5 1999/07/07 14:22:24 aaron Exp $
.\"
.Dd March 10, 1991
.Dt SETREGID 3
@@ -48,9 +48,9 @@ Unprivileged users may change the real group
ID to the effective group ID and vice-versa; only the super-user may
make other changes.
.Pp
-Supplying a value of -1 for either the real or effective
+Supplying a value of \-1 for either the real or effective
group ID forces the system to substitute the current
-ID in place of the -1 parameter.
+ID in place of the \-1 parameter.
.Pp
The
.Fn setregid
@@ -68,7 +68,7 @@ standard
function is preferred.
.Sh RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise,
-a value of -1 is returned and
+a value of \-1 is returned and
.Va errno
is set to indicate the error.
.Sh ERRORS
diff --git a/lib/libc/compat-43/setreuid.3 b/lib/libc/compat-43/setreuid.3
index 5f4912f22e7..9261fbbcc30 100644
--- a/lib/libc/compat-43/setreuid.3
+++ b/lib/libc/compat-43/setreuid.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: setreuid.3,v 1.4 1999/05/25 13:06:44 aaron Exp $
+.\" $OpenBSD: setreuid.3,v 1.5 1999/07/07 14:22:24 aaron Exp $
.\"
.Dd March 10, 1991
.Dt SETREUID 3
@@ -48,7 +48,7 @@ If
.Fa ruid
or
.Fa euid
-is -1, the current UID is filled in by the system.
+is \-1, the current UID is filled in by the system.
Unprivileged users may change the real user
ID to the effective user ID and vice-versa; only the super-user may
make other changes.
@@ -67,7 +67,7 @@ When setting the real and effective user IDs to the same value, the standard
function is preferred.
.Sh RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise,
-a value of -1 is returned and
+a value of \-1 is returned and
.Va errno
is set to indicate the error.
.Sh ERRORS
diff --git a/lib/libc/compat-43/sigpause.3 b/lib/libc/compat-43/sigpause.3
index 0940fb19c39..f1e7e06e4b1 100644
--- a/lib/libc/compat-43/sigpause.3
+++ b/lib/libc/compat-43/sigpause.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: sigpause.3,v 1.6 1999/05/23 14:10:58 aaron Exp $
+.\" $OpenBSD: sigpause.3,v 1.7 1999/07/07 14:22:24 aaron Exp $
.\"
.Dd March 10, 1991
.Dt SIGPAUSE 3
@@ -55,7 +55,7 @@ on return the set of masked signals is restored.
is usually 0 to indicate that no
signals are to be blocked.
.Fn sigpause
-always terminates by being interrupted, returning -1 with
+always terminates by being interrupted, returning \-1 with
.Va errno
set to
.Dv EINTR
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
diff --git a/lib/libc/rpc/bindresvport.3 b/lib/libc/rpc/bindresvport.3
index 85b65b3b007..9d0ac2d6ad5 100644
--- a/lib/libc/rpc/bindresvport.3
+++ b/lib/libc/rpc/bindresvport.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bindresvport.3,v 1.9 1997/09/29 18:25:51 deraadt Exp $
+.\" $OpenBSD: bindresvport.3,v 1.10 1999/07/07 14:22:24 aaron Exp $
.\"
.Dd August 9, 1997
.Dt BINDRESVPORT 3
@@ -29,7 +29,7 @@ attempts to use the specified port. If that fails, it
chooses another privileged port number automatically.
.Sh RETURN VALUES
.Fn bindresvport
-returns 0 if it is successful, otherwise -1 is returned and
+returns 0 if it is successful, otherwise \-1 is returned and
.Va errno
set to reflect the cause of the error.
.Sh ERRORS
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3
index 07813230280..a8b591e7af4 100644
--- a/lib/libc/stdio/printf.3
+++ b/lib/libc/stdio/printf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: printf.3,v 1.18 1999/07/02 20:58:00 aaron Exp $
+.\" $OpenBSD: printf.3,v 1.19 1999/07/07 14:22:25 aaron Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -130,7 +130,7 @@ This pointer should be passed to
.Xr free 3
to release the allocated storage when it is no longer needed.
If sufficient space cannot be allocated, these functions
-will return -1 and set
+will return \-1 and set
.Fa ret
to be a NULL pointer.
.Pp
diff --git a/lib/libc/stdio/remove.3 b/lib/libc/stdio/remove.3
index c210e2b7108..d4e08a93842 100644
--- a/lib/libc/stdio/remove.3
+++ b/lib/libc/stdio/remove.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: remove.3,v 1.5 1997/10/08 05:26:37 millert Exp $
+.\" $OpenBSD: remove.3,v 1.6 1999/07/07 14:22:25 aaron Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -65,7 +65,7 @@ Otherwise, it is the equivalent of
Upon successful completion,
.Fn remove
returns 0.
-Otherwise, -1 is returned and the global variable
+Otherwise, \-1 is returned and the global variable
.Va errno
is set to indicate the error.
.Sh ERRORS
diff --git a/lib/libc/time/ctime.3 b/lib/libc/time/ctime.3
index ed603afebca..ac2b075f285 100644
--- a/lib/libc/time/ctime.3
+++ b/lib/libc/time/ctime.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ctime.3,v 1.14 1999/07/02 17:04:16 aaron Exp $
+.\" $OpenBSD: ctime.3,v 1.15 1999/07/07 14:22:25 aaron Exp $
.\"
.\"
.Dd February 16, 1999
@@ -127,7 +127,7 @@ are determined.
.Fn mktime
returns the specified calendar time;
If the calendar time cannot be represented,
-it returns -1.
+it returns \-1.
.Pp
.Fn difftime
returns the difference between two calendar times,
diff --git a/lib/libedit/editline.3 b/lib/libedit/editline.3
index c848f7923a6..93489f31acc 100644
--- a/lib/libedit/editline.3
+++ b/lib/libedit/editline.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: editline.3,v 1.7 1999/07/07 10:50:05 aaron Exp $
+.\" $OpenBSD: editline.3,v 1.8 1999/07/07 14:22:25 aaron Exp $
.\" $NetBSD: editline.3,v 1.4 1997/01/14 04:17:23 lukem Exp $
.\"
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -148,7 +148,7 @@ if no characters were read or if an error occurred.
Read a character from the tty.
.Fa ch
is modified to contain the character read.
-Returns the number of characters read if successful, -1 otherwise.
+Returns the number of characters read if successful, \-1 otherwise.
.It Fn el_push
Pushes
.Fa str
@@ -180,7 +180,7 @@ matches the
argument supplied to
.Fn el_init .
The return value is
--1 if the command is unknown,
+\-1 if the command is unknown,
0 if there was no error or
.Dq prog
didn't match, or
@@ -404,7 +404,7 @@ typedef struct lineinfo {
Insert
.Fa str
into the line at the cursor.
-Returns -1 if
+Returns \-1 if
.Fa str
is empty or won't fit, and 0 otherwise.
.It Fn el_deletestr
diff --git a/lib/libkeynote/keynote.1 b/lib/libkeynote/keynote.1
index a9593693330..0a91a266056 100644
--- a/lib/libkeynote/keynote.1
+++ b/lib/libkeynote/keynote.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: keynote.1,v 1.6 1999/07/07 10:50:06 aaron Exp $
+.\" $OpenBSD: keynote.1,v 1.7 1999/07/07 14:22:25 aaron Exp $
.\"
.\" The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu)
.\"
@@ -210,9 +210,9 @@ and least one of each
and
.Fl k
flags should be given per invocation. If no flags are given,
-"keynote verify" prints the usage message and exits with error code -1.
+"keynote verify" prints the usage message and exits with error code \-1.
.Pp
-"keynote verify" exits with code -1 if there was an error, and 0 on success.
+"keynote verify" exits with code \-1 if there was an error, and 0 on success.
.Sh SEE ALSO
.Xr keynote 3 ,
.Xr keynote 4
diff --git a/lib/libkeynote/keynote.3 b/lib/libkeynote/keynote.3
index 06845e45f92..8035ad50a52 100644
--- a/lib/libkeynote/keynote.3
+++ b/lib/libkeynote/keynote.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: keynote.3,v 1.7 1999/07/07 10:50:06 aaron Exp $
+.\" $OpenBSD: keynote.3,v 1.8 1999/07/07 14:22:25 aaron Exp $
.\"
.\" The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu)
.\"
@@ -100,7 +100,7 @@ struct keynote_binary
.Sh DESCRIPTION
.Va keynote_errno
contains an error code if some library call failed. Failed calls
-return -1 (if their return value is integer), or
+return \-1 (if their return value is integer), or
.Dv NULL
(if their return value is a pointer) and set
.Va keynote_errno .
@@ -152,7 +152,7 @@ function returns the new session ID, which is used by all subsequent
calls with a
.Fa sessid
argument.
-On failure, it returns -1 and sets
+On failure, it returns \-1 and sets
.Va keynote_errno
to
.Er ERROR_MEMORY .
@@ -183,7 +183,7 @@ as the
On success, this function will return an assertion ID which can be
used to remove the assertion from the session, by using
.Xr kn_remove_assertion 3 .
-On failure, -1 is returned, and
+On failure, \-1 is returned, and
.Va keynote_errno
is set to
.Er ERROR_NOTFOUND
@@ -198,7 +198,7 @@ removes the assertion identified by
.Fa assertid
from the session identified by
.Fa sessid .
-On success, this function returns 0. On failure, it returns -1 and
+On success, this function returns 0. On failure, it returns \-1 and
sets
.Va keynote_errno
to
@@ -264,7 +264,7 @@ large.
.Pp
On success,
.Xr keynote_add_action 3
-returns 0. On failure, it returns -1 and sets
+returns 0. On failure, it returns \-1 and sets
.Va keynote_errno to
.Er ERROR_NOTFOUND
if the session was not found,
@@ -285,7 +285,7 @@ from the environment of session
Notice that if more than one instances of
.Fa name
exist, only the one added last will be deleted.
-On success, this function returns 0. On failure, it returns -1 and
+On success, this function returns 0. On failure, it returns \-1 and
.Va keynote_errno
is set to
.Er ERROR_NOTFOUND
@@ -302,7 +302,7 @@ adds the principal pointed to by
to the action authorizers list of session
.Fa sessid .
The principal is typically an ASCII-encoded key. On success, this
-function will return 0. On failure, it returns -1 and sets
+function will return 0. On failure, it returns \-1 and sets
.Va keynote_errno
to
.Er ERROR_NOTFOUND
@@ -317,7 +317,7 @@ removes
.Fa principal
from the action authorizer list of session
.Fa sessid .
-On success, this function returns 0. On failure, it returns -1 and sets
+On success, this function returns 0. On failure, it returns \-1 and sets
.Va keynote_errno
to
.Er ERROR_NOTFOUND
@@ -348,7 +348,7 @@ after the call to
if this feature is used, as the array is not replicated internally.
On success, this function returns an index into the
.Fa returnvalues
-array. On failure, it returns -1 and sets
+array. On failure, it returns \-1 and sets
.Va keynote_errno
to
.Er ERROR_NOTFOUND
@@ -397,7 +397,7 @@ application could do something like:
On success,
.Xr kn_get_failed 3
returns an assertion ID. On failure, or when no assertion matching the
-given criteria is found, it returns -1 and set
+given criteria is found, it returns \-1 and set
.Va keynote_errno
to
.Er ERROR_NOTFOUND .
@@ -407,7 +407,7 @@ closes session
.Fa sessid
and frees all related resources, deleting action attributes, action
authorizers, and assertions. On success, this function returns 0. On
-failure, it returns -1 and sets
+failure, it returns \-1 and sets
.Va keynote_errno
to
.Er ERROR_NOTFOUND
@@ -424,7 +424,7 @@ and returns an array of strings containing the assertions found in
contains the number of assertions (and thus strings in the returned
array) found in
.Fa array .
-On failure, this function returns -1 and sets
+On failure, this function returns \-1 and sets
.Va keynote_errno
to
.Er ERROR_MEMORY
@@ -486,7 +486,7 @@ respectively.
.Fa env_regex
is not used. On success, this function returns an index in
.Fa returnvalues
-indicating the returned value to the query. On failure, it returns -1
+indicating the returned value to the query. On failure, it returns \-1
and sets
.Va keynote_errno
to the same values as
@@ -510,7 +510,7 @@ string terminator. If
is not a multiple of 4, or
.Fa dst
is not long enough to contain the encoded data, this function returns
--1 and sets
+\-1 and sets
.Va keynote_errno
to
.Er ERROR_SYNTAX .
@@ -523,7 +523,7 @@ and stores the result in
which is of length
.Fa dstlen .
The actual length of the decoded data is returned on success. On
-failure, this function returns -1 and sets
+failure, this function returns \-1 and sets
.Va keynote_errno
to
.Er ERROR_SYNTAX ,
@@ -546,7 +546,7 @@ Thus, this function should be used as follows:
.Ed
.Pp
The length of the allocated buffer will be (2 * srclen + 1). On
-success, this function returns 0. On failure, it returns -1 and sets
+success, this function returns 0. On failure, it returns \-1 and sets
.Va keynote_errno
to
.Er ERROR_MEMORY
@@ -564,7 +564,7 @@ and stores the result in a memory chunk allocated by the function. A
pointer to that memory is stored in
.Fa dst .
The length of the allocated memory will be (strlen(src) / 2). On
-success, this function returns 0. On failure, it returns -1 and sets
+success, this function returns 0. On failure, it returns \-1 and sets
.Va keynote_errno
to
.Er ERROR_MEMORY
@@ -669,7 +669,7 @@ takes the values
or
.Dv KEYNOTE_PRIVATE_KEY
to specify a public or private key, where applicable. On success, this
-function returns 0. On failure, it returns -1 and sets
+function returns 0. On failure, it returns \-1 and sets
.Va keynote_errno
to
.Er ERROR_MEMORY
@@ -731,7 +731,7 @@ On success, this function returns
.Dv SIGRESULT_TRUE
if the signature could be verified, or
.Dv SIGRESULT_FALSE
-otherwise. On failure, this function returns -1 and sets
+otherwise. On failure, this function returns \-1 and sets
.Va keynote_errno
to
.Er ERROR_MEMORY
diff --git a/lib/libkvm/kvm_dump.3 b/lib/libkvm/kvm_dump.3
index 9012146b08a..ffddb95f4a2 100644
--- a/lib/libkvm/kvm_dump.3
+++ b/lib/libkvm/kvm_dump.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_dump.3,v 1.1 1996/05/05 14:56:55 deraadt Exp $
+.\" $OpenBSD: kvm_dump.3,v 1.2 1999/07/07 14:22:25 aaron Exp $
.\" $NetBSD: kvm_dump.3,v 1.1 1996/03/18 21:11:12 leo Exp $
.\"
.\" Copyright (c) 1996 Leo Weppelman
@@ -93,7 +93,7 @@ that
.Fn kvm_dum_mkheader
was called earlier in the sequence).
.Sh RETURN VALUES
-All functions return 0 on success, -1 on failure. In the case of failure,
+All functions return 0 on success, \-1 on failure. In the case of failure,
.Xr kvm_geterr 3
can be used to retrieve the cause of the error.
.Sh HISTORY
diff --git a/lib/libkvm/kvm_nlist.3 b/lib/libkvm/kvm_nlist.3
index d59808d1c96..150bf2267a9 100644
--- a/lib/libkvm/kvm_nlist.3
+++ b/lib/libkvm/kvm_nlist.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_nlist.3,v 1.4 1997/09/09 14:45:28 millert Exp $
+.\" $OpenBSD: kvm_nlist.3,v 1.5 1999/07/07 14:22:25 aaron Exp $
.\" $NetBSD: kvm_nlist.3,v 1.3 1996/03/18 22:33:48 thorpej Exp $
.\"
.\" Copyright (c) 1992, 1993
@@ -72,7 +72,7 @@ uses it to speed lookups.
The
.Fn kvm_nlist
function returns the number of invalid entries found.
-If the kernel symbol table was unreadable, -1 is returned.
+If the kernel symbol table was unreadable, \-1 is returned.
.Sh FILES
.Bl -tag -width /var/db/kvm_bsd.db -compact
.It Pa /var/db/kvm_bsd.db
diff --git a/lib/libkvm/kvm_open.3 b/lib/libkvm/kvm_open.3
index 21e9ffc3b8b..7b2aba5aa06 100644
--- a/lib/libkvm/kvm_open.3
+++ b/lib/libkvm/kvm_open.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_open.3,v 1.3 1998/08/24 05:46:27 millert Exp $
+.\" $OpenBSD: kvm_open.3,v 1.4 1999/07/07 14:22:25 aaron Exp $
.\" $NetBSD: kvm_open.3,v 1.2 1996/03/18 22:33:52 thorpej Exp $
.\"
.\" Copyright (c) 1992, 1993
@@ -175,7 +175,7 @@ writes the error message into
.Pp
The
.Fn kvm_close
-function returns 0 on success and -1 on failure.
+function returns 0 on success and \-1 on failure.
.Sh BUGS
There should not be two open calls. The ill-defined error semantics
of the Sun library and the desire to have a backward-compatible library
diff --git a/lib/libkvm/kvm_read.3 b/lib/libkvm/kvm_read.3
index e87f4854f1c..8a296db375d 100644
--- a/lib/libkvm/kvm_read.3
+++ b/lib/libkvm/kvm_read.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_read.3,v 1.2 1996/05/05 14:57:47 deraadt Exp $
+.\" $OpenBSD: kvm_read.3,v 1.3 1999/07/07 14:22:25 aaron Exp $
.\" $NetBSD: kvm_read.3,v 1.2 1996/03/18 22:34:01 thorpej Exp $
.\"
.\" Copyright (c) 1992, 1993
@@ -82,7 +82,7 @@ Unlike their SunOS counterparts, these functions cannot be used to
read or write process address spaces.
.Sh RETURN VALUES
Upon success, the number of bytes actually transferred is returned.
-Otherwise, -1 is returned.
+Otherwise, \-1 is returned.
.Sh SEE ALSO
.Xr kvm 3 ,
.Xr kvm_close 3 ,
diff --git a/lib/libutil/openpty.3 b/lib/libutil/openpty.3
index fce8501775a..295aa3583fd 100644
--- a/lib/libutil/openpty.3
+++ b/lib/libutil/openpty.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: openpty.3,v 1.3 1996/11/24 23:53:12 millert Exp $
+.\" $OpenBSD: openpty.3,v 1.4 1999/07/07 14:22:25 aaron Exp $
.\" Copyright (c) 1995
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -118,7 +118,7 @@ If a call to
.Fn login_tty ,
or
.Fn forkpty
-is not successful, -1 is returned and
+is not successful, \-1 is returned and
.Va errno
is set to indicate the error. Otherwise,
.Fn openpty ,
diff --git a/lib/libutil/pw_lock.3 b/lib/libutil/pw_lock.3
index f5fed6157d4..f84ccae3ab8 100644
--- a/lib/libutil/pw_lock.3
+++ b/lib/libutil/pw_lock.3
@@ -97,7 +97,7 @@ The
.Fn pw_lock
and
.Fn pw_mkdb
-functions return -1 if they are unable to complete properly.
+functions return \-1 if they are unable to complete properly.
.Sh FILES
.Bl -tag -width /etc/master.passwd -compact
.It Pa /etc/master.passwd
diff --git a/lib/libutil/uucplock.3 b/lib/libutil/uucplock.3
index 5bbe23c6856..7c1eebc2e34 100644
--- a/lib/libutil/uucplock.3
+++ b/lib/libutil/uucplock.3
@@ -21,7 +21,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: uucplock.3,v 1.4 1999/07/07 10:50:06 aaron Exp $
+.\" $Id: uucplock.3,v 1.5 1999/07/07 14:22:26 aaron Exp $
.\" "
.Dd March 30, 1997
.Dt uucplock 3
@@ -85,7 +85,7 @@ as returned from
.Fn uu_lock .
.Sh RETURN VALUES
.Fn uu_unlock
-returns 0 on success and -1 on failure.
+returns 0 on success and \-1 on failure.
.Pp
.Fn uu_lock
may return any of the following values: