´

error

synopsis: INT error(char * text)

description:

prints the error message text to stderr, and reads a charcter from stdin, if the character is 'g' it goes on, if the character is 'a' it calls abort (i.e. core dump on UNIX) , 'f' goes on without error breaks, 's' goes on without error breaks and it doesnt write the error messages, 'r' gives an return code, which enables the caller of the error routine to do a 'retry'. Else it stops the programm with the call of exit There is a global variable INT sym_background, which is set to 0 by default, if you set this variable to a value != 0L the programm will stop after the first error without input from the terminal

return:

ERROR if the input was 'g' ERROR_RETRY if the input was 'r'


Send comments or suggestions to:
symmetrica (at) symmetrica.de

this page was automatically generated on So Jan 4 10:35:15 CET 2009 on the machine btn6xf

University of Bayreuth -