size - the number of characters to duplicate from the source.
OUTPUT
none
RETURN VALUE
The newly duplicated memory or NULL upon failure.
DESCRIPTION
The routine allocates new memory and then copies the contents
from the ptr to the new memory. This routine is really a
convience routine that uses kmalloc() and kmemcpy() in which
to make a duplicate.
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.