buffer_putxlong man page

buffer_putxlong — write a hexidecimal ASCII representation of an unsigned long integer to buffer

Syntax

#include <buffer.h>

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

Description

buffer_putxlong is similar to passing the result of fmt_xlong to buffer_put.

Return Value

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

See Also

fmt_xlong(3), buffer_put(3), buffer_flush(3), buffer(3)

Info