src/stdlib/llabort.c
/*================================
 * ll_optional_abort -- print msg & stop if caller wants to abort
 * else return (& caller should exit)
 *  caller translated msg
 *===============================*/
- print msg & stop if caller wants to abort
else return (& caller should exit)
caller translated msg
- print msg & stop if caller wants to abort else return ( & caller should exit ) caller translated msg
void
ll_optional_abort (STRING msg)
{
	INT ch;
	if (msg)
		printf("%s", msg);
	printf("%s", _(qScoredump));
	fflush(stdout);
	ch = getchar();
	putchar(ch);
	if (is_yes(ch))
		abort();
}
void ll_optional_abort ( STRING msg ) { INT ch ; if ( msg ) printf ( " " , msg ) ; printf ( " " , _ ( qScoredump ) ) ; fflush ( stdout ) ; ch = getchar ( ) ; putchar ( ch ) ; if ( is_yes ( ch ) ) abort ( ) ; }
ll_optional_abort -- print msg & stop if caller wants to abort
 else return (& caller should exit)
  caller translated msg
ll_optional_abort -- print msg & stop if caller wants to abort else return ( & caller should exit ) caller translated msg
/* TODO: how do we i18n this ? This getchar assumes that 
	the answer is one byte */