20 val = tmalloc(2+strlen(a));\ 25 (*(SPfrontEnd->IFerror))(E_PANIC,nomem,(IFuid *)NULL);\ 35 static char *from =
"%s detected in routine %s";
36 static char *unknownError =
"Unknown error code %d";
37 static char *Pause =
"Pause requested";
38 static char *panic =
"Impossible error - can't occur";
39 static char *exists =
"Device already exists, existing one being used";
40 static char *
nodev =
"No such device";
41 static char *nomod =
"No such model";
42 static char *noanal =
"No such analysis type";
43 static char *noterm =
"No such terminal on this device";
44 static char *badparm =
"No such parameter on this device";
45 static char *nomem =
"Out of Memory";
46 static char *nodecon =
"Warning: old connection replaced";
47 static char *unsupp =
"Action unsupported by this simulator";
48 static char *parmval =
"Parameter value is illegal";
49 static char *notempty =
"Can't delete - still referenced";
50 static char *nochange =
"Sorry, simulator can't handle that now";
51 static char *notfound =
"Not found";
52 static char *syntax =
"Parse error";
67 val =
tmalloc(strlen(unknownError) +10);
69 (void) sprintf(val,unknownError,type);
110 (void) sprintf(val,
"%s: %s",syntax,
errMsg);
119 tmp =
tmalloc(strlen(from) + strlen(val) + strlen(
errRtn) + 5);
120 sprintf(tmp, from, val ,
errRtn);
char * INPerror(int type)