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

stralloc_catlong0 - append an integer to a stralloc

Description

       stralloc_catlong0 converts in to a string using fmt_long0 and appends the result to sa, allocating memory
       as necessary.

       If there was a memory allocation failure, stralloc_catlong0 returns 0, else 1.

Name

       stralloc_catlong0 - append an integer to a stralloc

Return Value

       1 for success, 0 on memory allocation failure.

See Also

fmt_long0(3)

                                                                                            stralloc_catlong0(3)

Syntax

#include<libowfat/stralloc.h>

       int stralloc_catlong0(stralloc* sa, unsigned long int in, size_t n);

See Also