int handler( int errval, int ax, int bp, int si ) { if ( ax >= 0 ) { disperror( "error on disk drive! ¡´»ØèÁã´æà¾×èÍ·Ó§Ò¹µèÍ" ); ebioskey( 0 ); } hardretn( -1 ); }
void execerror( char *p_err, char *p_exterr ) { char se[80]; strcpy( se, p_err ); strcat( se, p_exterr ); disperror( se ); /* settext(); *//* Change to text mode */ /* fprintf( stderr, "%s", p_err ); if ( p_exterr ) { fprintf( stderr, "%s", p_exterr ); }*/ settext( ); exit( EXIT_FAILURE ); }
/* -------------------------------------------------------------------- */ void execerror( char *s, char *t ) { char se[80]; strcpy( se, s ); strcat( se, t ); disperror( se ); /* settext(); *//* Change to text mode */ /* fprintf( stderr, "%s", s ); if ( t ) { fprintf( stderr, "%s", t ); }*/ settext( ); exit( 1 ); }