#include "spice.h"
#include "inpdefs.h"
#include "misc.h"
Go to the source code of this file.
char* INPdevErr |
( |
char * |
str | ) |
|
Definition at line 43 of file inperrc.c.
50 sprintf(buf,
"Device type %s not available in this binary.",str);
52 sprintf(buf,
"Incorrect model type.");
static char buf[MAXPROMPT]
char* INPerrCat |
( |
char * |
a, |
|
|
char * |
b |
|
) |
| |
Definition at line 14 of file inperrc.c.
21 if (
a != (
char *)
NULL) {
22 if (b == (
char *)
NULL)
27 errtmp = (
char *)
tmalloc( (strlen(
a) + strlen(b)+2)*
sizeof(char));
29 (void) strcat(errtmp,
"\n");
30 (void) strcat(errtmp,b);