Ignore:
Timestamp:
Aug 4, 2009, 1:26:28 AM (10 years ago)
Author:
Sam Hocevar
Message:

Implement memmove() in the kernel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/kernel/kernel.c

    r3620 r3625  
    163163}
    164164
     165void *memmove(void *dest, const void *src, size_t n)
     166{
     167    memcpy(freemem, src, n);
     168    memcpy(dest, freemem, n);
     169    return dest;
     170}
     171
    165172size_t strlen(const char *s)
    166173{
Note: See TracChangeset for help on using the changeset viewer.