SPT_BUFSIZE
buf[SPT_BUFSIZE - 1] = '\0';
snprintf(buf, SPT_BUFSIZE, "%s: ", _getprogname());
vsnprintf(buf + len, SPT_BUFSIZE - len, fmt, ap);
snprintf(obuf + len, SPT_BUFSIZE - len, "%s%s",
if (len >= SPT_BUFSIZE)
SPT_BUFSIZE - 1);
buf = malloc(SPT_BUFSIZE);
obuf = malloc(SPT_BUFSIZE);