buffer_putxlong(3) write a hexidecimal ASCII representation of an unsigned

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).