MCPcopy Create free account
hub / github.com/GJDuck/e9patch / memset

Function memset

examples/stdlib.c:2576–2582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2574/****************************************************************************/
2575
2576static void *memset(void *dst, int c, size_t n)
2577{
2578 uint8_t *dst8 = (uint8_t *)dst;
2579 for (size_t i = 0; i < n; i++)
2580 dst8[i] = (uint8_t)c;
2581 return dst;
2582}
2583
2584static void *memcpy(void *dst, const void *src, size_t n)
2585{

Callers 15

read_long_namesFunction · 0.85
dwarf_get_unitsFunction · 0.85
dwarf_offdie.cFile · 0.85
dwarf_childFunction · 0.85
test_memsetFunction · 0.85
test_memset_2Function · 0.85
test_freadFunction · 0.85
realMainFunction · 0.85
makeDataEntryFunction · 0.85
pushMethod · 0.85
flattenMappingFunction · 0.85
emitPEFunction · 0.85

Calls

no outgoing calls

Tested by 3

test_memsetFunction · 0.68
test_memset_2Function · 0.68
test_freadFunction · 0.68