FreeBSD/usr.sbin/inetd/inetd.c
/*
 * Add a signal flag to the signal flag queue for later handling
 */
Add a signal flag to the signal flag queue for later handling
Add a signal flag to the signal flag queue for later handling
void
flag_signal(int c)
{
	char ch = c;
	if (write(signalpipe[1], &ch, 1) != 1) {
		syslog(LOG_ERR, "write: %m");
		_exit(EX_OSERR);
	}
}
void flag_signal ( int c ) { char ch = c ; if ( write ( signalpipe [ 1 ] , & ch , 1 ) != 1 ) { syslog ( LOG_ERR , " " ) ; _exit ( EX_OSERR ) ; } }
Add a signal flag to the signal flag queue for later handling
Add a signal flag to the signal flag queue for later handling