1*60986Sbostic.\" Copyright (c) 1983, 1991, 1993
2*60986Sbostic.\"	The Regents of the University of California.  All rights reserved.
320267Smckusick.\"
443569Strent.\" %sccs.include.redist.man%
520267Smckusick.\"
6*60986Sbostic.\"     @(#)sigsetmask.2	8.1 (Berkeley) 06/02/93
738053Sbostic.\"
847209Scael.Dd
947209Scael.Dt SIGSETMASK 2
1047209Scael.Os BSD 4.2
1147209Scael.Sh NAME
1247209Scael.Nm sigsetmask
1347209Scael.Nd set current signal mask
1447209Scael.Sh SYNOPSIS
1555754Sbostic.Fd #include <signal.h>
1647209Scael.Ft int
1747209Scael.Fn sigsetmask "int mask"
1847209Scael.Fn sigmask signum
1947209Scael.Sh DESCRIPTION
2047209Scael.Bf -symbolic
2147209ScaelThis interface is made obsoleted by:
2247209Scael.Ef
2347209Scael.Xr sigprocmask 2 .
2447209Scael.Pp
2547209Scael.Fn Sigsetmask
2647209Scaelsets the current signal mask
2747209ScaelSignals are blocked from delivery if the
2828129Skarelscorresponding bit in
2947209Scael.Fa mask
3028129Skarelsis a 1; the macro
3147209Scael.Fn sigmask
3228129Skarelsis provided to construct the mask for a given
3347209Scael.Fa signum .
3447209Scael.Pp
3520267SmckusickThe system
3647209Scaelquietly disallows
3747209Scael.Dv SIGKILL
3847209Scaelor
3947209Scael.Dv SIGSTOP
4047209Scaelto be blocked.
4147209Scael.Sh RETURN VALUES
4220267SmckusickThe previous set of masked signals is returned.
4347209Scael.Sh SEE ALSO
4447209Scael.Xr sigprocmask 2 ,
4547209Scael.Xr kill 2 ,
4647209Scael.Xr sigaction 2 ,
4747209Scael.Xr sigsuspend 2 ,
4847209Scael.Xr sigvec 2 ,
4947209Scael.Xr sigblock 2 ,
5047209Scael.Xr sigsetops 3
5147209Scael.Sh HISTORY
5247209ScaelThe
5347209Scael.Nm
5447209Scaelfunction call appeared in
5547209Scael.Bx 4.2
5647209Scaeland has been deprecated.
57