games/monop/misc.c
/*
 *	This routine gives the players a chance before it exits.
 */
This routine gives the players a chance before it exits.
This routine gives the players a chance before it exits .
void
quit() {
	putchar('\n');
	if (getyn("Do you all really want to quit? ", yn) == 0)
		exit(0);
	signal(SIGINT, quit);
}
void quit ( ) { putchar ( ' \n ' ) ; if ( getyn ( " " , yn ) == 0 ) exit ( 0 ) ; signal ( SIGINT , quit ) ; }
This routine gives the players a chance before it exits.
This routine gives the players a chance before it exits .