BSKStringDup

Module: BSKUtil
BSKCHAR* BSKStringDup( BSKCHAR* str );
Inputs: Returns: a copy of the given stream (newly allocated).

Description: Duplicates the given string and returns the copy. This function must be used (rather than the string library function strdup) because some platforms may need to redefine BSKMalloc and BSKFree (bskenv.h) to meet their own memory allocation/deallocation needs, and the string duplication function must use their routines.

Return to the API
Return to the function listing


Last updated on 9 Feb 2001 by Jamis Buck (minam@rpgplanet.com)