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

# array\_cats(3)

append C string to an array

## NAME

array\_cats - append C string to an array

## SYNTAX

**#include \<libowfat/array.h\>**

void **array\_cats**(array\* *x*,const char\* *y*);

  array *x*;\
   array\_cats(&*x*,"fnord");

## DESCRIPTION

array\_cats appends the contents of the 0-terminated string *y*, not including the terminating 0 byte, to the array *x*.

array\_cats handles failure in the same way as array\_cat.

## 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\_catb(3)](/array_catb/3.md), [array\_cats0(3)](/array_cats0/3.md), [array\_cate(3)](/array_cate/3.md), [array\_cat0(3)](/array_cat0/3.md)
