Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1627 serge 1
/*	bcopy()						Author: Kees J. Bot */
2
/*								2 Jan 1994 */
3
 
4
/* void bcopy(const void *s1, void *s2, size_t n) */
5
/*	Copy a chunk of memory.  Handle overlap. */
6
/*	This is a BSD routine that escaped from the kernel.  Don't use. */
7
/* */
8
#include "asm.h"
9
 
10
ENTRY(bcopy)
11
	movl	4(%esp), %eax	/* Exchange string arguments */
12
	xchgl	8(%esp), %eax
13
	movl	%eax, 4(%esp)
14
	jmp	_C_LABEL(_memmove) /* Call the proper routine */