Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Rewrite memmove #128

Closed
toku-sa-n opened this issue Aug 28, 2020 · 0 comments · Fixed by #131
Closed

Rewrite memmove #128

toku-sa-n opened this issue Aug 28, 2020 · 0 comments · Fixed by #131

Comments

@toku-sa-n
Copy link
Owner

void* memmove(void* dst, const void* src, size_t n)
{
char buf[n];
memcpy(buf, src, n);
memcpy(dst, buf, n);
return dst;
}

Remove function callings.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant