Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YatSenOS/YatSenOS-Tutorial-Volume-1
/ strcpy
Function
strcpy
lab8/src/4/src/utils/stdlib.cpp:69–76 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
67
}
68
69
void strcpy(const char *src, char *dst) {
70
int i = 0;
71
while(src[i]) {
72
dst[i] = src[i];
73
++i;
74
}
75
dst[i] =
'\0'
;
76
}
Callers
1
copyProcess
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected