TNS/R Native Application Migration Guide
Common Run-Time Environment (CRE) Migration
Tasks
TNS/R Native Application Migration Guide—523745-001
8-7
Memory Block Functions
Memory Block Functions
These CRE memory block functions cannot be called by native programs. The
following table lists the obsolete functions and suggests replacement functions:
RTL_Strncpy_
RTL_StrncpyX_
strncpy()
RTL_Strpbrk_
RTL_StrpbrkX_
strpbrk()
RTL_Strrchr_
RTL_StrrchrX_
strstr()
RTL_Strspn_
RTL_StrspnX_
strspn()
RTL_Strstr_
RTL_StrstrX_
strstr()
CRE_Strtod_
CRE_StrtodX_
strtod() in the native C run-time library
CRE_Strtol_
CRE_StrtolX_
strtol() in the native C run-time library
CRE_Strtoul_
CRE_StrtoulX_
strtoul() in the native C run-time library
RTL_Substring_Search_ strstr()
Table 8-3. Obsolete Memory Block Functions
Obsolete Function Suggested Replacement
RTL_Memory_Compare_
RTL_Memory_CompareX_
memcmp()
RTL_Memory_Copy_
RTL_Memory_CopyX_
memcpy()
RTL_Memory_Findchar_
RTL_Memory_FindcharX_
memchr()
RTL_Memory_Move_
RTL_Memory_MoveX_
memmove()
RTL_Memory_Repeat_
RTL_Memory_RepeatX_
Series of call to memcpy() to copy the block of memory the
required number of times
RTL_Memory_Set_
RTL_Memory_SetX_
memset()
RTL_Memory_Swap_
RTL_Memory_SwapX_
Series of call to memcpy() to swap the blocks of memory
Table 8-2. Obsolete String Functions (page 3 of 3)
Obsolete Function Suggested Replacement