man buffer_putlong () - write a decimal ASCII representation of a signed long integer to buffer

NAME

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

SYNTAX

#include <buffer.h>

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

DESCRIPTION

buffer_putlong is similar to passing the result of fmt_long to buffer_put.

RETURN VALUE

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

SEE ALSO