BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kmemcpy - copies bytes from src to dest

LIBRARY CALL

kaddr kmemcpy(
   kaddr       dest,
   const kaddr src,
   size_t      num)

INPUT

OUTPUT

RETURN VALUE

dest on a successful memory copy. If dest or src are NULL, NULL is returned. If num is 0, NULL is returned.

DESCRIPTION

This routine copies num bytes of memory from src to dest in a similar manner as memcpy. However, this routine checks that the src, dest, and num values are not NULL or 0.

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.