#
111317 |
|
23-Feb-2003 |
rwatson |
Add an implementation of strdup() to libkern. Allocated memory is of type M_STRING, now defined in malloc.h. Useful when string parsing must occur using the kernel strsep() and we want to avoid toasting the source string.
Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
|