LenStrCat

Concatenates two length-preceded ASCII strings

Local Servers:nonblocking
Remote Servers:N/A
Classification:3.x, 4.x, 5.x, 6.x
Service:String Manipulation

Syntax

  #include <nwstring.h>  
   
  char *LenStrCat  (  
     char   *destStr,   
     char   *srcStr);
  

Parameters

destStr
(IN/OUT) Points to the destination string.
srcStr
(IN) Points to the source string.

Return Values

LenStrCat returns the address of the destination string.

Remarks

LenStrCat concatenates the srcStr onto the end of the destStr. The source and destination strings are two ASCII strings with the length of the string being the first byte of the string. NULL characters are copied the same as any other value. It is the programmer’s job to make sure the destination string is large enough to hold the concatenated string.