Scroll to navigation

array_cats0(3) Library Functions Manual array_cats0(3)

NAME

array_cats0 - append C string to an array

SYNTAX

#include <libowfat/array.h>

void array_cats0(array* x,const char* y);


array x;
array_cats0(&x,"fnord");

DESCRIPTION

array_cats0 appends the contents of the 0-terminated string y, including the terminating 0 byte, to the array x.

array_cats0 handles failure in the same way as array_cat.

SEE ALSO

array_allocate(3), array_get(3), array_fail(3), array_reset(3), array_cat(3), array_catb(3), array_cats(3), array_cate(3)