sigpause.2 (25bb73e063c17cd9048cf60100dbc0ac5177e94a) sigpause.2 (c23155a43a8fbd8404b4d7bca71c292e92fb4870)
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.

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

56on return the set of masked signals is restored.
57.Fa Sigmask
58is usually 0 to indicate that no
59signals are to be blocked.
60.Fn Sigpause
61always terminates by being interrupted, returning -1 with
62.Va errno
63set to
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.

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

56on return the set of masked signals is restored.
57.Fa Sigmask
58is usually 0 to indicate that no
59signals are to be blocked.
60.Fn Sigpause
61always terminates by being interrupted, returning -1 with
62.Va errno
63set to
64.Dv EINTR
64.Er EINTR
65.Sh SEE ALSO
66.Xr kill 2 ,
67.Xr sigaction 2 ,
68.Xr sigblock 2 ,
69.Xr sigprocmask 2 ,
70.Xr sigsuspend 2 ,
71.Xr sigvec 2
72.Sh HISTORY
73The
74.Fn sigpause
75function call appeared in
76.Bx 4.2
77and has been deprecated.
65.Sh SEE ALSO
66.Xr kill 2 ,
67.Xr sigaction 2 ,
68.Xr sigblock 2 ,
69.Xr sigprocmask 2 ,
70.Xr sigsuspend 2 ,
71.Xr sigvec 2
72.Sh HISTORY
73The
74.Fn sigpause
75function call appeared in
76.Bx 4.2
77and has been deprecated.