logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Description

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

Name

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

Return Value

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

See Also

fmt_long(3), buffer_put(3), buffer_flush(3), buffer(3)

                                                                                               buffer_putlong(3)

Syntax

#include<libowfat/buffer.h>

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

See Also