MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / memset

Function memset

Kernel/src/string.cpp:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54extern "C"
55void* memset(void* src, int c, size_t count) {
56 uint8_t* xs = (uint8_t*)src;
57
58 while (count--)
59 *xs++ = c;
60
61 return src;
62}
63
64extern "C"
65void *memcpy(void* dest, const void* src, size_t count) {

Callers 15

PollMouseFunction · 0.85
mainFunction · 0.85
ReadMethod · 0.85
VideoConsoleMethod · 0.85
ClearMethod · 0.85
ScrollMethod · 0.85
LoadELFSegmentsFunction · 0.85
CreateProcessFunction · 0.85
CreateChildThreadFunction · 0.85
CreateELFProcessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected