mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-23 00:14:25 +00:00
18 lines
402 B
C
18 lines
402 B
C
/* OPTOFF.C: prints a message in case someone tries to use a part of the */
|
|
/* RTL which was OPTIONally linked out. */
|
|
|
|
#include "portab.h"
|
|
#include "osif.h"
|
|
|
|
_optoff(msg)
|
|
BYTE *msg;
|
|
{
|
|
BYTE buf[200]; /* ought to be big enough */
|
|
|
|
strcpy(buf,"C RTL - program not linked for ");
|
|
strcat(buf,msg);
|
|
strcat(buf,"\r\nProgram terminating\r\n$");
|
|
__OSIF(C_WRITESTR,buf);
|
|
_exit(FAILURE);
|
|
}
|