FreeBSD/contrib/ntp/libntp/iosignal.c
/* !HAVE_SIGACTION */
/*
 * Must be an old bsd system.
 * We assume there is no SIGPOLL.
 */
HAVE_SIGACTION
Must be an old bsd system.
We assume there is no SIGPOLL.
HAVE_SIGACTION Must be an old bsd system . We assume there is no SIGPOLL .
void
block_io_and_alarm(void)
{
	int mask;
	mask = sigmask(SIGIO) | sigmask(SIGALRM);
	if (sigblock(mask))
	    msyslog(LOG_ERR, "block_io_and_alarm: sigblock() failed: %m");
}
void block_io_and_alarm ( void ) { int mask ; mask = sigmask ( SIGIO ) | sigmask ( SIGALRM ) ; if ( sigblock ( mask ) ) msyslog ( LOG_ERR , " " ) ; }
HAVE_SIGACTION
 Must be an old bsd system.
HAVE_SIGACTION Must be an old bsd system .