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

Function dStr_shred

dlib/dlib.c:379–383  ·  view source on GitHub ↗

* Clear a Dstr. */

Source from the content-addressed store, hash-verified

377 * Clear a Dstr.
378 */
379void dStr_shred (Dstr *ds)
380{
381 if (ds && ds->sz > 0)
382 memset(ds->str, '\0', ds->sz);
383}
384
385/**
386 * Erase a substring.

Callers 1

a_Digest_compute_digestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected