---
name: "array_cate"
section: "3"
platform: "linux"
package: "libowfat-dev"
version: "0.32-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/array_cate"
---

# array\_cate(3)

append subset of one array to another array

## NAME

array\_cate - append subset of one array to another array

## SYNTAX

**#include \<libowfat/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*);

## DESCRIPTION

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*.

## SEE ALSO

[array\_allocate(3)](/array_allocate/3.md), [array\_get(3)](/array_get/3.md), [array\_fail(3)](/array_fail/3.md), [array\_reset(3)](/array_reset/3.md), [array\_cat(3)](/array_cat/3.md), [array\_cats(3)](/array_cats/3.md), [array\_cats0(3)](/array_cats0/3.md), [array\_cate(3)](/array_cate/3.md)
