MAXINSTR
char stackbuf[MAXINSTR];
i = wcstombs(tempstring, string, MAXINSTR);
if (i == MAXINSTR) { /* The buffer was too small. Malloc it. */