4 * Regression test for pthread_sigmask when SA upcalls aren't started yet.
6 * Written by Christian Limpach <cl@NetBSD.org>, December 2003.
14 #include <sys/resource.h>
17 main(int argc
, char **argv
)
22 rlim
.rlim_cur
= rlim
.rlim_max
= 0;
23 (void)setrlimit(RLIMIT_CORE
, &rlim
);
26 sigaddset(&nset
, SIGFPE
);
27 pthread_sigmask(SIG_BLOCK
, &nset
, NULL
);
29 kill(getpid(), SIGFPE
);