summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-05-30 11:56:46 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-05-30 11:56:46 +0000
commitd0c7d464457de0b23e23fe905b876d730cd58832 (patch)
tree9eeb9656a9bb1058baefca044f5f5438b673226e /lib
parentb3f771cd5f116b8aa221ebe12d4db6a4c4384de1 (diff)
- section reorder
- in sigvec(3) removed .Xr to itself, added section numbers to two other .Xr's
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/compat-43/gethostid.36
-rw-r--r--lib/libc/compat-43/sigblock.36
-rw-r--r--lib/libc/compat-43/sigsetmask.36
-rw-r--r--lib/libc/compat-43/sigvec.313
4 files changed, 15 insertions, 16 deletions
diff --git a/lib/libc/compat-43/gethostid.3 b/lib/libc/compat-43/gethostid.3
index 4fc2d411a29..47773f9e1f0 100644
--- a/lib/libc/compat-43/gethostid.3
+++ b/lib/libc/compat-43/gethostid.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: gethostid.3,v 1.8 2000/04/18 02:31:31 aaron Exp $
+.\" $OpenBSD: gethostid.3,v 1.9 2003/05/30 11:56:45 jmc Exp $
.\"
.Dd June 2, 1993
.Dt GETHOSTID 3
@@ -64,8 +64,6 @@ The hostid should be set or retrieved by use of
.Xr gethostname 3 ,
.Xr sysctl 3 ,
.Xr sysctl 8
-.Sh BUGS
-32 bits for the identifier is too small.
.Sh HISTORY
The
.Fn gethostid
@@ -75,3 +73,5 @@ syscalls appeared in
.Bx 4.2
and were dropped in
.Bx 4.4 .
+.Sh BUGS
+32 bits for the identifier is too small.
diff --git a/lib/libc/compat-43/sigblock.3 b/lib/libc/compat-43/sigblock.3
index d812b8c3ea0..1c80bcab6cd 100644
--- a/lib/libc/compat-43/sigblock.3
+++ b/lib/libc/compat-43/sigblock.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: sigblock.3,v 1.11 2001/03/11 05:02:28 aaron Exp $
+.\" $OpenBSD: sigblock.3,v 1.12 2003/05/30 11:56:45 jmc Exp $
.\"
.Dd March 10, 1991
.Dt SIGBLOCK 3
@@ -68,6 +68,8 @@ or
.Dv SIGSTOP ;
this restriction is silently
imposed by the system.
+.Sh RETURN VALUES
+The previous set of masked signals is returned.
.Sh EXAMPLES
The following example utilizing
.Fn sigblock :
@@ -104,8 +106,6 @@ sigset_t set;
sigprocmask(SIG_BLOCK, NULL, &set);
.Ed
-.Sh RETURN VALUES
-The previous set of masked signals is returned.
.Sh SEE ALSO
.Xr kill 2 ,
.Xr sigaction 2 ,
diff --git a/lib/libc/compat-43/sigsetmask.3 b/lib/libc/compat-43/sigsetmask.3
index 613ef08670a..d23199ea9ff 100644
--- a/lib/libc/compat-43/sigsetmask.3
+++ b/lib/libc/compat-43/sigsetmask.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: sigsetmask.3,v 1.10 2001/01/18 18:51:44 millert Exp $
+.\" $OpenBSD: sigsetmask.3,v 1.11 2003/05/30 11:56:45 jmc Exp $
.\"
.Dd March 10, 1991
.Dt SIGSETMASK 3
@@ -64,6 +64,8 @@ quietly disallows
or
.Dv SIGSTOP
to be blocked.
+.Sh RETURN VALUES
+The previous set of masked signals is returned.
.Sh EXAMPLES
The following example utilizing
.Fn sigsetmask :
@@ -123,8 +125,6 @@ sigset_t eset;
sigemptyset(&eset);
(void) sigprocmask(SIG_SETMASK, &eset, NULL);
.Ed
-.Sh RETURN VALUES
-The previous set of masked signals is returned.
.Sh SEE ALSO
.Xr kill 2 ,
.Xr sigaction 2 ,
diff --git a/lib/libc/compat-43/sigvec.3 b/lib/libc/compat-43/sigvec.3
index f704921bd7a..611575ca694 100644
--- a/lib/libc/compat-43/sigvec.3
+++ b/lib/libc/compat-43/sigvec.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: sigvec.3,v 1.23 2003/05/12 14:34:13 jmc Exp $
+.\" $OpenBSD: sigvec.3,v 1.24 2003/05/30 11:56:45 jmc Exp $
.\"
.Dd April 29, 1991
.Dt SIGVEC 3
@@ -117,9 +117,9 @@ must arrange to restore the previous context itself.
When a signal is delivered to a process a new signal mask is
installed for the duration of the process' signal handler
(or until a
-.Xr sigblock
+.Xr sigblock 3
or
-.Xr sigsetmask
+.Xr sigsetmask 3
call is made).
This mask is formed by taking the union of the current signal mask,
the signal to be delivered, and
@@ -287,6 +287,9 @@ A 0 value indicated that the call succeeded.
A \-1 return value indicates an error occurred and
.Va errno
is set to indicated the reason.
+.Sh EXAMPLES
+For an example of signal handler declarations, see
+.Xr sigaction 2 .
.Sh ERRORS
.Fn sigvec
will fail and no new signal handler will be installed if one
@@ -308,9 +311,6 @@ An attempt is made to ignore or supply a handler for
or
.Dv SIGSTOP .
.El
-.Sh EXAMPLES
-For an example of signal handler declarations, see
-.Xr sigaction 2 .
.Sh SEE ALSO
.Xr kill 1 ,
.Xr kill 2 ,
@@ -326,5 +326,4 @@ For an example of signal handler declarations, see
.Xr sigpause 3 ,
.Xr sigsetmask 3 ,
.Xr sigsetops 3 ,
-.Xr sigvec 3 ,
.Xr tty 4