stralloc_catlong0
append an integer to a stralloc
- Provided by: libowfat-dev (Version: 0.30-3ubuntu1)
- Source: libowfat
- Report a bug
append an integer to a stralloc
#include <stralloc.h>
int stralloc_catlong0(stralloc* sa, unsigned long int in, size_t n);
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.
1 for success, 0 on memory allocation failure.