4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-10 02:59:16 +08:00
Yaakov Selkowitz 352c8f2f0d string: remove TRAD_SYNOPSIS
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2017-12-01 03:41:52 -06:00

34 lines
586 B
C

/*
FUNCTION
<<bcopy>>---copy memory regions
SYNOPSIS
#include <strings.h>
void bcopy(const void *<[in]>, void *<[out]>, size_t <[n]>);
DESCRIPTION
This function copies <[n]> bytes from the memory region
pointed to by <[in]> to the memory region pointed to by
<[out]>.
This function is implemented in term of <<memmove>>.
PORTABILITY
<<bcopy>> requires no supporting OS subroutines.
QUICKREF
bcopy - pure
*/
#include <string.h>
#include <strings.h>
void
_DEFUN (bcopy, (b1, b2, length),
_CONST void *b1 _AND
void *b2 _AND
size_t length)
{
memmove (b2, b1, length);
}