char tmp[sizeof "255.255.255.255"];
if (SPRINTF((tmp, fmt, src[0], src[1], src[2], src[3])) > size) {
errno = ENOSPC;
errno = EINVAL;
return (NULL);
}
strcpy(dst, tmp);
* Check for overflow, copy, and we're done.
*/
if ((size_t)(tp - tmp) > size) {