evbuffer_add_printf

Append a formatted string to the end of an evbuffer.

The string is formated as printf.

@param buf the evbuffer that will be appended to @param fmt a format string @param ... arguments that will be passed to printf(3) @return The number of bytes added if successful, or -1 if an error occurred.

@see evutil_printf(), evbuffer_add_vprintf()

extern (C) nothrow
int
evbuffer_add_printf
(,
const(char)* fmt
,)

Meta