> compile NEMU

221220000 张三
Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
 00:32:06 up  8:11,  1 user,  load average: 0.45, 0.25, 0.24
This commit is contained in:
tracer-ics2023
2024-09-04 00:32:07 +08:00
committed by zzy
parent 14a6212a6b
commit 17284c73cd

View File

@ -32,7 +32,8 @@ char *strncpy(char *dst, const char *src, size_t n) {
}
char *strcat(char *dst, const char *src) {
return memcpy(dst + strlen(dst), src, strlen(src) + 1);
memcpy(dst + strlen(dst), src, strlen(src) + 1);
return dst;
}
int strcmp(const char *s1, const char *s2) {