buffer_putlonglong - Man Page

write a decimal ASCII representation of a signed long integer to buffer


#include <buffer.h>

int buffer_putlonglong(buffer* b,signed long long x);


buffer_putlonglong is equivalent to passing the result of fmt_longlong to buffer_put.

Return Value

0 if everything is fine, -1 on error (setting errno).

See Also

fmt_longlong(3), buffer_put(3), buffer_flush(3), buffer(3)