1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:27:35 +00:00

LibC: Move bzero() and bcopy() per Dr. POSIX

This commit is contained in:
Andreas Kling 2021-01-09 19:54:51 +01:00
parent 9766f61f7b
commit b4918bbe2f
6 changed files with 15 additions and 12 deletions

View file

@ -38,16 +38,6 @@
extern "C" {
void bzero(void* dest, size_t n)
{
memset(dest, 0, n);
}
void bcopy(const void* src, void* dest, size_t n)
{
memmove(dest, src, n);
}
size_t strspn(const char* s, const char* accept)
{
const char* p = s;