OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgcc/] [memcpy.c] - Blame information for rev 857

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 734 jeremybenn
/* Public domain.  */
2
#include <stddef.h>
3
 
4
void *
5
memcpy (void *dest, const void *src, size_t len)
6
{
7
  char *d = dest;
8
  const char *s = src;
9
  while (len--)
10
    *d++ = *s++;
11
  return dest;
12
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.