#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
+#include <assert.h>
#include <errno.h>
#include <string.h>
#include <signal.h>
va_start(args, format);
n = vsnprintf(buf, sizeof(buf), format, args);
+ /* This will never happen because we are sure to use fd_printf() for short sequences */
+ assert(n < sizeof(buf));
va_end(args);
IGNORE_RC(write(fd, buf, n));
}