DOKK / manpages / debian 11 / libowfat-dev / buffer_putxlong.3.en
buffer_putxlong(3) Library Functions Manual buffer_putxlong(3)

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

#include <buffer.h>

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

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

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

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