FreeBSD/contrib/ntp/ntpq/ntpq.c
/*
 * abortcmd - catch interrupts and abort the current command
 */
catch interrupts and abort the current command
catch interrupts and abort the current command
static int
abortcmd(void)
{
	if (current_output == stdout)
		(void) fflush(stdout);
	putc('\n', stderr);
	(void) fflush(stderr);
	if (jump) {
		jump = 0;
		longjmp(interrupt_buf, 1);
	}
	return TRUE;
}
static int abortcmd ( void ) { if ( current_output == stdout ) ( void ) fflush ( stdout ) ; putc ( ' \n ' , stderr ) ; ( void ) fflush ( stderr ) ; if ( jump ) { jump = 0 ; longjmp ( interrupt_buf , 1 ) ; } return TRUE ; }
abortcmd - catch interrupts and abort the current command
abortcmd - catch interrupts and abort the current command