mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 07:18:49 +01:00
92b3138b83
Updated dependencies: * GMP 6.2.1 * ISL 0.24 * MPL 1.2.1 * MPFR 4.1.0 The dependencies were pulled in by running the ./contrib/download_prerequisites script and then manually removing the symbolic links and archives, and renaming the directories (i.e mv isl-0.24 to isl)
27 lines
509 B
C
27 lines
509 B
C
/* memcpy (the standard C function)
|
|
This function is in the public domain. */
|
|
|
|
/*
|
|
|
|
@deftypefn Supplemental void* memcpy (void *@var{out}, const void *@var{in}, @
|
|
size_t @var{length})
|
|
|
|
Copies @var{length} bytes from memory region @var{in} to region
|
|
@var{out}. Returns a pointer to @var{out}.
|
|
|
|
@end deftypefn
|
|
|
|
*/
|
|
|
|
#include <ansidecl.h>
|
|
#include <stddef.h>
|
|
|
|
void bcopy (const void*, void*, size_t);
|
|
|
|
void *
|
|
memcpy (void *out, const void *in, size_t length)
|
|
{
|
|
bcopy(in, out, length);
|
|
return out;
|
|
}
|