stralloc_catlong0(3diet)

stralloc_catlong03diet

Append an integer to a stralloc

Usage

#include <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

4 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–4.0
  2. 5.0–6.0

From libowfat-dev 0.28-2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.