cstring · Section 3
cstr_insert
NAME
cstr_insert - insert a C string at a position, and call ccol__fatal_err() on failure
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/cstring.h> cstr_insert(s, pos, str);
DESCRIPTION
This macro calls cstring_insert(), and when that call gives anything other than ccol_success it calls ccol__fatal_err().
PARAMETERS
s cstr to change pos Insertion position (0 ... length, inclusive) str C string to insert (must not be NULL)
NOTES
If you want to handle an error yourself, call cstring_insert() directly.