Rev 205 | Rev 430 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 205 | Rev 360 | ||
---|---|---|---|
Line 39... | Line 39... | ||
39 | * @param src Origin address to copy from. |
39 | * @param src Origin address to copy from. |
40 | * @param dst Origin address to copy to. |
40 | * @param dst Origin address to copy to. |
41 | * @param cnt Number of bytes to copy. |
41 | * @param cnt Number of bytes to copy. |
42 | * |
42 | * |
43 | */ |
43 | */ |
44 | char *_memcpy(void * dst, const void *src, size_t cnt) |
44 | void *_memcpy(void * dst, const void *src, size_t cnt) |
45 | { |
45 | { |
46 | int i; |
46 | int i; |
47 | 47 | ||
48 | for (i=0; i<cnt; i++) |
48 | for (i=0; i<cnt; i++) |
49 | *((__u8 *) (dst + i)) = *((__u8 *) (src + i)); |
49 | *((__u8 *) (dst + i)) = *((__u8 *) (src + i)); |