STDBUFSIZE
char *newbuf = am(msg, STDBUFSIZE);
size = vsnprintf(newbuf, STDBUFSIZE, fmt, ap);
if (size > STDBUFSIZE) {