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

Function strcpy

Kernel/src/string.cpp:103–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void strcpy(char* dest, const char* src)
104{
105 size_t i = 0;
106 for(; src[i] != '\0'; i++)
107 {
108 dest[i] = src[i];
109 }
110 dest[i] = '\0';
111}
112
113void strncpy(char* dest, const char* src, size_t n)
114{

Callers 15

InitializeFontsFunction · 0.85
LoadFontFunction · 0.85
FileViewMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85
RunFunction · 0.85
OpenMethod · 0.85
InitializeMenuFunction · 0.85
KernelProcessFunction · 0.85
ReadDirMethod · 0.85
strcatFunction · 0.85
strdupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected