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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [libiberty/] [memmove.c] - Blame information for rev 1772

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

Line No. Rev Author Line
1 106 markom
/* Wrapper to implement ANSI C's memmove using BSD's bcopy. */
2
/* This function is in the public domain.  --Per Bothner. */
3
#include <ansidecl.h>
4
#ifdef __STDC__
5
#include <stddef.h>
6
#else
7
#define size_t unsigned long
8
#endif
9
 
10
PTR
11
memmove (s1, s2, n)
12
     PTR s1;
13
     const PTR s2;
14
     size_t n;
15
{
16
  bcopy (s2, s1, n);
17
  return s1;
18
}

powered by: WebSVN 2.1.0

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