LenStrCat

Concatenates two length-preceded ASCII strings.

Library:LibC
Service:Characters and Strings

Syntax

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

Parameters

destStr

(IN/OUT) Points to a length-preceded destination string.

srcStr

(IN) Points to a length-preceded source string.

Return Values

Returns the address of the destination string.

Remarks

The LenStrCat function 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. You must ensure that the destination string is large enough to hold the concatenated string.