Files
Sepp J Morris 31738079c4 Upload
Digital Research
2020-11-06 18:50:37 +01:00

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);
}