home *** CD-ROM | disk | FTP | other *** search
- /* ==( gensup/doerror.c )== */
- /* ----------------------------------------------- */
- /* Pro-C Copyright (C) 1988 - 1990 Vestronix Inc. */
- /* Modification to this source is not supported */
- /* by Vestronix Inc. */
- /* All Rights Reserved */
- /* ----------------------------------------------- */
- /* Written Nig 1-Jan-90 */
- /* Modified Nig 1-Jan-90 */
- /* ----------------------------------------------- */
- /* %W% (%H% %T%) */
-
-
- # include <stdio.h>
- # include <bench.h>
- # include <proc.io>
- # include "field.h"
- # include "iodef.h"
- # include "sup.h"
- # include "screen.h"
-
- /*
- * Used for Error Reporting Above & Beyond
- * that given by the I/O managers.
- */
- int do_error(stat)
- int stat;
- {
- # ifdef ERROR_REPORTING
- switch (stat)
- {
- case IOGOOD :
- break;
- case IOTOF :
- break;
- case IOEOF :
- break;
- case IONOKEY :
- break;
- case IONONEXT :
- break;
- default :
- errmsg(FileErr, stat);
- break;
- }
- # endif
-
- return (stat);
- }
-
-