summaryrefslogtreecommitdiff
path: root/lib/libc
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
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')
-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
10 files changed, 31 insertions, 31 deletions
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,