MCPcopy Create free account
hub / github.com/containers/bubblewrap / has_prefix

Function has_prefix

utils.c:279–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277
278
279bool
280has_prefix (const char *str,
281 const char *prefix)
282{
283 return strncmp (str, prefix, strlen (prefix)) == 0;
284}
285
286void
287xclearenv (void)

Callers 1

test_has_prefixFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_has_prefixFunction · 0.68