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_cat - append data to a stralloc

Description

       stralloc_cat  appends the string stored in safrom to sa. It is the same as stralloc_catb(&sato, safrom.s,
       safrom.len).  safrom must already be allocated.

       The data that sa previously contained is overwritten and truncated.

Name

       stralloc_cat - append data to a stralloc

Return Value

       1 for success, 0 on memory allocation failure.

See Also

stralloc_catb(3)

                                                                                                 stralloc_cat(3)

Syntax

#include<libowfat/stralloc.h>

       int stralloc_cat(stralloc* sato,const stralloc* safrom);

See Also