home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
msysjour
/
vol05
/
01
/
pmaccess
/
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);
}