File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 397
397
\end {slide }
398
398
399
399
\begin {itemize }
400
+ \item for manipulating signal sets, use \funnm {sigaddset}(),
401
+ \funnm {sigdelset}(), \funnm {sigemptyset}(), \funnm {sigfillset}(),
402
+ \funnm {sigismember}()
400
403
\item If \texttt {act == NULL } you only get the present setting and nothing is
401
404
changed. If not interested in previous setting, use \texttt {NULL } for
402
405
\emph {\texttt {oact } }.
458
461
void handler(int sig)
459
462
\{ write(2," !!! TIMEOUT !!! \bs{}n", 17); \}
460
463
461
- int main(void)
464
+ int main(void)
462
465
\{
463
466
char buf[1024]; struct sigaction act; int sz;
464
467
act.sa\_handler = handler;
521
524
\item \emph {how } -- \texttt {SIG\_ BLOCK } adds signals to block,
522
525
\texttt {SIG\_ UNBLOCK } for removing signals, for a complete mask change
523
526
use \texttt {SIG\_ SETMASK }
524
- \item for manipulating signal sets, use \funnm {sigaddset}(),
525
- \funnm {sigdelset}(), \funnm {sigemptyset}(), \funnm {sigfillset}(),
526
- \funnm {sigismember}()
527
527
\end {itemize }
528
528
ifdef([[[NOSPELLCHECK]]], [[[
529
529
\texttt {int \funnm {sigpending}(sigset\_ t *\emph {set }); }
You can’t perform that action at this time.
0 commit comments