BOOTSTRAP (kutils) functions
LIBRARY ROUTINE
kmemmove - copy a block of memory to another block
LIBRARY CALL
kaddr kmemmove(
kaddr dest,
const kaddr src,
size_t num)
INPUT
- src - the source pointer to move the data from
- num - the number of bytes to be moved
OUTPUT
- dest - the destination pointer to move the data to
RETURN VALUE
returns the dest pointer on success, NULL otherwise
DESCRIPTION
This function is the same as the system call memmove().
Except kmemmove() will make sure that the source and the
destination are not NULL.
memmove() copies n bytes from memory areas src to dest.
Copying between objects that overlap will take place
correctly. It returns dest.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/objects/library/kutils/src/memory.c
SEE ALSO
kutils(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.