MCPcopy Create free account
hub / github.com/dillo-browser/dillo / dStr_insert

Function dStr_insert

dlib/dlib.c:298–302  ·  view source on GitHub ↗

* Insert a C string, at a given position, into a Dstr. */

Source from the content-addressed store, hash-verified

296 * Insert a C string, at a given position, into a Dstr.
297 */
298void dStr_insert (Dstr *ds, int pos_0, const char *s)
299{
300 if (s)
301 dStr_insert_l(ds, pos_0, s, strlen(s));
302}
303
304/**
305 * Append a C string to a Dstr (providing length).

Callers

nothing calls this directly

Calls 1

dStr_insert_lFunction · 0.85

Tested by

no test coverage detected