---
name: "array_cats"
section: "3diet"
platform: "linux"
package: "libowfat-dev"
version: "0.28-2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/array_cats/3diet"
---

# array\_cats(3diet)

append C string to an array

## NAME

array\_cats - append C string to an array

## SYNTAX

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