MCPcopy Create free account
hub / github.com/YatSenOS/YatSenOS-Tutorial-Volume-1 / memset

Function memset

lab8/src/4/src/utils/stdlib.cpp:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48void memset(void *memory, char value, int length)
49{
50 for (int i = 0; i < length; ++i)
51 {
52 ((char *)memory)[i] = value;
53 }
54}
55
56int ceil(const int dividend, const int divisor)
57{

Callers 8

executeThreadMethod · 0.50
initializeTSSMethod · 0.50
createUserVirtualPoolMethod · 0.50
copyProcessMethod · 0.50
initializeMethod · 0.50
mainFunction · 0.50

Calls

no outgoing calls

Tested by 1

mainFunction · 0.40