Deleted Added
full compact
sigpause.2 (108037) sigpause.2 (108087)
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)sigpause.2 8.1 (Berkeley) 6/2/93
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)sigpause.2 8.1 (Berkeley) 6/2/93
33.\" $FreeBSD: head/lib/libc/compat-43/sigpause.2 108037 2002-12-18 12:45:11Z ru $
33.\" $FreeBSD: head/lib/libc/compat-43/sigpause.2 108087 2002-12-19 09:40:28Z ru $
34.\"
35.Dd June 2, 1993
36.Dt SIGPAUSE 2
37.Os
38.Sh NAME
39.Nm sigpause
40.Nd atomically release blocked signals and wait for interrupt
41.Sh LIBRARY

--- 9 unchanged lines hidden (view full) ---

51The
52.Fn sigpause
53function
54assigns
55.Fa sigmask
56to the set of masked signals
57and then waits for a signal to arrive;
58on return the set of masked signals is restored.
34.\"
35.Dd June 2, 1993
36.Dt SIGPAUSE 2
37.Os
38.Sh NAME
39.Nm sigpause
40.Nd atomically release blocked signals and wait for interrupt
41.Sh LIBRARY

--- 9 unchanged lines hidden (view full) ---

51The
52.Fn sigpause
53function
54assigns
55.Fa sigmask
56to the set of masked signals
57and then waits for a signal to arrive;
58on return the set of masked signals is restored.
59.Fa Sigmask
59The
60.Fa sigmask
61argument
60is usually 0 to indicate that no
61signals are to be blocked.
62The
63.Fn sigpause
64function
65always terminates by being interrupted, returning -1 with
66.Va errno
67set to

--- 14 unchanged lines hidden ---
62is usually 0 to indicate that no
63signals are to be blocked.
64The
65.Fn sigpause
66function
67always terminates by being interrupted, returning -1 with
68.Va errno
69set to

--- 14 unchanged lines hidden ---