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

# stralloc\_catulong0(3)

append an integer to a stralloc

## NAME

stralloc\_catulong0 - append an integer to a stralloc

## SYNTAX

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

int **stralloc\_catulong0**(stralloc\* *sa*, unsigned long int *in*, size\_t *n*);

## DESCRIPTION

stralloc\_catulong0 converts in to a string using **fmt\_ulong0** and appends the result to *sa*, allocating memory as necessary.

If there was a memory allocation failure, stralloc\_catulong0 returns 0, else 1.

## RETURN VALUE

1 for success, 0 on memory allocation failure.

## SEE ALSO

[fmt\_ulong0(3)](/fmt_ulong0/3.md)
