summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-08-31 16:52:36 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-08-31 16:52:36 +0000
commit4a5fe73d3f52d4faf3e7e8b48559c8e8c872e5df (patch)
tree9110de7db77a96d4122ccdf47ec13dc969cc53ef /lib
parent43b7fa1d59ab3c955e2f241dcee15d3bbe36b967 (diff)
Consistify naming of RETURN VALUES section.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/popen.34
-rw-r--r--lib/libc/gen/sleep.34
-rw-r--r--lib/libc/gen/usleep.34
-rw-r--r--lib/libc/locale/nl_langinfo.34
-rw-r--r--lib/libc/nls/catgets.34
-rw-r--r--lib/libc/nls/catopen.34
-rw-r--r--lib/libc/sys/_exit.24
-rw-r--r--lib/libc/sys/clock_gettime.24
-rw-r--r--lib/libc/sys/gettimeofday.24
-rw-r--r--lib/libc/sys/nanosleep.24
10 files changed, 20 insertions, 20 deletions
diff --git a/lib/libc/gen/popen.3 b/lib/libc/gen/popen.3
index f5000c955eb..a3d0ccdec10 100644
--- a/lib/libc/gen/popen.3
+++ b/lib/libc/gen/popen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: popen.3,v 1.7 1999/06/04 01:30:11 aaron Exp $
+.\" $OpenBSD: popen.3,v 1.8 1999/08/31 16:52:34 aaron Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -107,7 +107,7 @@ function waits for the associated process to terminate
and returns the exit status of the command
as returned by
.Xr wait4 2 .
-.Sh RETURN VALUE
+.Sh RETURN VALUES
The
.Fn popen
function returns
diff --git a/lib/libc/gen/sleep.3 b/lib/libc/gen/sleep.3
index 84c3d2c0d31..b4aea47d790 100644
--- a/lib/libc/gen/sleep.3
+++ b/lib/libc/gen/sleep.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sleep.3,v 1.6 1999/07/09 13:35:19 aaron Exp $
+.\" $OpenBSD: sleep.3,v 1.7 1999/08/31 16:52:34 aaron Exp $
.\"
.\" Copyright (c) 1986, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -63,7 +63,7 @@ with other uses of
(not that
.Fn sleep
interferes with interval timers anymore).
-.Sh RETURN VALUE
+.Sh RETURN VALUES
If the
.Fn sleep
function returns because the requested time has elapsed, the value
diff --git a/lib/libc/gen/usleep.3 b/lib/libc/gen/usleep.3
index 4f1f2ecc7bb..a5a8b8e5f0d 100644
--- a/lib/libc/gen/usleep.3
+++ b/lib/libc/gen/usleep.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: usleep.3,v 1.10 1999/07/09 13:35:20 aaron Exp $
+.\" $OpenBSD: usleep.3,v 1.11 1999/08/31 16:52:34 aaron Exp $
.\"
.\" Copyright (c) 1986, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -63,7 +63,7 @@ with other uses of
(not that
.Fn usleep
interferes with interval timers anymore).
-.Sh RETURN VALUE
+.Sh RETURN VALUES
If the
.Fn usleep
function returns because the requested time has elapsed, the value
diff --git a/lib/libc/locale/nl_langinfo.3 b/lib/libc/locale/nl_langinfo.3
index a4364652a76..1b2430e7955 100644
--- a/lib/libc/locale/nl_langinfo.3
+++ b/lib/libc/locale/nl_langinfo.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nl_langinfo.3,v 1.5 1999/07/09 13:35:20 aaron Exp $
+.\" $OpenBSD: nl_langinfo.3,v 1.6 1999/08/31 16:52:34 aaron Exp $
.\"
.\" Written by J.T. Conklin <jtc@netbsd.org>.
.\" Public domain.
@@ -24,7 +24,7 @@ The names and values of
.Fa item
are defined in
.Aq Pa langinfo.h .
-.Sh RETURN VALUE
+.Sh RETURN VALUES
.Fn nl_langinfo
returns a pointer to an empty string if
.Fa item
diff --git a/lib/libc/nls/catgets.3 b/lib/libc/nls/catgets.3
index 88146518103..b5100422336 100644
--- a/lib/libc/nls/catgets.3
+++ b/lib/libc/nls/catgets.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: catgets.3,v 1.3 1999/07/05 13:23:47 aaron Exp $
+.\" $OpenBSD: catgets.3,v 1.4 1999/08/31 16:52:34 aaron Exp $
.\"
.\" Written by J.T. Conklin <jtc@netbsd.org>.
.\" Public domain.
@@ -26,7 +26,7 @@ The argument
.Fa s
points to a default message which is returned if the function
is unable to retrieve the specified message.
-.Sh RETURN VALUE
+.Sh RETURN VALUES
If the specified message was retrieved successfully,
.Fn catgets
returns a pointer to an internal buffer containing the message string;
diff --git a/lib/libc/nls/catopen.3 b/lib/libc/nls/catopen.3
index 47468d93f0c..6ad3d312ff0 100644
--- a/lib/libc/nls/catopen.3
+++ b/lib/libc/nls/catopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: catopen.3,v 1.4 1999/07/05 13:23:47 aaron Exp $
+.\" $OpenBSD: catopen.3,v 1.5 1999/08/31 16:52:34 aaron Exp $
.\"
.\" Written by J.T. Conklin <jtc@netbsd.org>.
.\" Public domain.
@@ -36,7 +36,7 @@ substituted for
The
.Fa oflag
argument is reserved for future use and should be set to zero.
-.Sh RETURN VALUE
+.Sh RETURN VALUES
Upon successful completion,
.Fn catopen
returns a message catalog descriptor.
diff --git a/lib/libc/sys/_exit.2 b/lib/libc/sys/_exit.2
index 17d464b0208..77d6015572d 100644
--- a/lib/libc/sys/_exit.2
+++ b/lib/libc/sys/_exit.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: _exit.2,v 1.7 1999/06/29 14:09:48 aaron Exp $
+.\" $OpenBSD: _exit.2,v 1.8 1999/08/31 16:52:35 aaron Exp $
.\" $NetBSD: _exit.2,v 1.6 1995/02/27 12:31:34 cgd Exp $
.\"
.\" Copyright (c) 1980, 1993
@@ -98,7 +98,7 @@ Most C programs call the library routine
which flushes buffers, closes streams, unlinks temporary files, etc.,
and then calls
.Fn _exit .
-.Sh RETURN VALUE
+.Sh RETURN VALUES
.Fn _exit
can never return.
.Sh SEE ALSO
diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2
index 37a3eccc052..3e531be5b9f 100644
--- a/lib/libc/sys/clock_gettime.2
+++ b/lib/libc/sys/clock_gettime.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: clock_gettime.2,v 1.7 1999/06/29 14:09:52 aaron Exp $
+.\" $OpenBSD: clock_gettime.2,v 1.8 1999/08/31 16:52:35 aaron Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -94,7 +94,7 @@ The resolution (granularity) of a clock is returned by the
.Fn clock_getres
call. This value is placed in a (non-null)
.Fa *tp .
-.Sh RETURN
+.Sh RETURN VALUES
A 0 return value indicates that the call succeeded.
A \-1 return value indicates an error occurred, and in this
case an error code is stored into the global variable
diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2
index dfa7a5a62fc..29c8fe20c43 100644
--- a/lib/libc/sys/gettimeofday.2
+++ b/lib/libc/sys/gettimeofday.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gettimeofday.2,v 1.7 1999/06/29 14:10:02 aaron Exp $
+.\" $OpenBSD: gettimeofday.2,v 1.8 1999/08/31 16:52:35 aaron Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -106,7 +106,7 @@ from setting arbitrary time stamps on files.
The system time can still be adjusted backwards using the
.Xr adjtime 2
system call even when the system is secure.
-.Sh RETURN
+.Sh RETURN VALUES
A 0 return value indicates that the call succeeded.
A \-1 return value indicates an error occurred, and in this
case an error code is stored into the global variable
diff --git a/lib/libc/sys/nanosleep.2 b/lib/libc/sys/nanosleep.2
index 7bb722eba06..801006f3893 100644
--- a/lib/libc/sys/nanosleep.2
+++ b/lib/libc/sys/nanosleep.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nanosleep.2,v 1.4 1999/06/29 14:10:10 aaron Exp $
+.\" $OpenBSD: nanosleep.2,v 1.5 1999/08/31 16:52:35 aaron Exp $
.\" $NetBSD: nanosleep.2,v 1.1 1997/04/17 18:12:02 jtc Exp $
.\"
.\" Copyright (c) 1986, 1991, 1993
@@ -50,7 +50,7 @@ suspends execution of the calling process for the time specified. An unmasked
signal will cause it to terminate the sleep early, regardless of the
.Dv SA_RESTART
value on the interrupting signal.
-.Sh RETURN VALUE
+.Sh RETURN VALUES
If the
.Fn nanosleep
function returns because the requested time has elapsed, the value