1 // Copyright 2017 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 // +build darwin dragonfly freebsd linux netbsd openbsd solaris
9 func sigismember(mask
*sigset
, i
int) bool {
15 func Sigisblocked(i
int) bool {
17 sigprocmask(_SIG_SETMASK
, nil, &sigmask
)
18 return sigismember(&sigmask
, i
)