Your company here ā€” click to reach over 10,000 unique daily visitors

buffer_putulong - Man Page

write a decimal ASCII representation of an unsigned long integer to buffer


#include <buffer.h>

int buffer_putulong(buffer* b,unsigned long x);


buffer_putulong is similar to passing the result of fmt_ulong to buffer_put.

Return Value

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

See Also

fmt_ulong(3), buffer_put(3), buffer_flush(3), buffer(3)