DOKK / manpages / debian 11 / libowfat-dev / array_cate.3.en
array_cate(3) Library Functions Manual array_cate(3)

array_cate - append subset of one array to another array

#include <array.h>

void array_cate(array* x,array* y, int64 pos,int64 stop);


array x;
array y;
int64 pos;
int64 stop;
array_cate(&x,y,pos,stop);

array_cate is like array_cat, but uses only byte positions pos through stop-1 in y. It fails if pos negative, or if stop is smaller than pos, or if the number of initialized bytes in y is smaller than stop.

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