home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
MSJV5-1.ZIP
/
PMACCESS.ARC
/
ERREXIT.C
< prev
next >
Wrap
C/C++ Source or Header
|
1989-10-12
|
259b
|
17 lines
/* errexit.c RHS 7/15/89
*
*/
#define INCL_DOS
#include<os2.h>
#include<stdio.h>
#include"errexit.h"
void error_exit(USHORT err, char *msg)
{
printf("OS/2 error %u returned from %s\n",err,msg);
DosExit(EXIT_PROCESS,0);
}