stralloc_catlong0(3)

stralloc_catlong03

Append an integer to a stralloc

Usage

#include <libowfat/stralloc.h>

int stralloc_catlong0(stralloc* sa, unsigned long int in, size_t n);

Overview

stralloc_catlong0 converts in to a string using fmt_long0 and appends the result to sa, allocating memory as necessary.

If there was a memory allocation failure, stralloc_catlong0 returns 0, else 1.

Return value

1 for success, 0 on memory allocation failure.

Releases

8 releases since Debian 3.0 (Woody); the text changed 2 times.

  1. 3.0
  2. 7–11
  3. 12–13

From libowfat-dev 0.32-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.