1*47209Scael.\" Copyright (c) 1983, 1991 The Regents of the University of California. 238053Sbostic.\" All rights reserved. 320267Smckusick.\" 443569Strent.\" %sccs.include.redist.man% 520267Smckusick.\" 6*47209Scael.\" @(#)sigsetmask.2 6.7 (Berkeley) 03/10/91 738053Sbostic.\" 8*47209Scael.Dd 9*47209Scael.Dt SIGSETMASK 2 10*47209Scael.Os BSD 4.2 11*47209Scael.Sh NAME 12*47209Scael.Nm sigsetmask 13*47209Scael.Nd set current signal mask 14*47209Scael.Sh SYNOPSIS 15*47209Scael.Fd #include <sys/signal.h> 16*47209Scael.Ft int 17*47209Scael.Fn sigsetmask "int mask" 18*47209Scael.Fn sigmask signum 19*47209Scael.Sh DESCRIPTION 20*47209Scael.Bf -symbolic 21*47209ScaelThis interface is made obsoleted by: 22*47209Scael.Ef 23*47209Scael.Xr sigprocmask 2 . 24*47209Scael.Pp 25*47209Scael.Fn Sigsetmask 26*47209Scaelsets the current signal mask 27*47209ScaelSignals are blocked from delivery if the 2828129Skarelscorresponding bit in 29*47209Scael.Fa mask 3028129Skarelsis a 1; the macro 31*47209Scael.Fn sigmask 3228129Skarelsis provided to construct the mask for a given 33*47209Scael.Fa signum . 34*47209Scael.Pp 3520267SmckusickThe system 36*47209Scaelquietly disallows 37*47209Scael.Dv SIGKILL 38*47209Scaelor 39*47209Scael.Dv SIGSTOP 40*47209Scaelto be blocked. 41*47209Scael.Sh RETURN VALUES 4220267SmckusickThe previous set of masked signals is returned. 43*47209Scael.Sh SEE ALSO 44*47209Scael.Xr sigprocmask 2 , 45*47209Scael.Xr kill 2 , 46*47209Scael.Xr sigaction 2 , 47*47209Scael.Xr sigsuspend 2 , 48*47209Scael.Xr sigvec 2 , 49*47209Scael.Xr sigblock 2 , 50*47209Scael.Xr sigsetops 3 51*47209Scael.Sh HISTORY 52*47209ScaelThe 53*47209Scael.Nm 54*47209Scaelfunction call appeared in 55*47209Scael.Bx 4.2 56*47209Scaeland has been deprecated. 57