stStrNCat Function
Declaration:
PSTR stStrNCat(
  PSTR dest,
  const PSTR src,
  SIZE maxlen
);
Parameters:
dest

Address of the destination string.

src

Address of the source string.

maxlen

Maximum length of the destination string.

Return value:

Address of the destination string, containing the appended data.

Description:

This function appends the source string to the destination string, ensuring the length of the final destination string does not exceed maxlen.

If functions for basic string operations are inactive in the alternative C library (by setting ST_USE_STRING_CLIB to 1), a macro named stStrNCat will be created that calls the strncat function from the standard C library.

Version:1.0
Header file:ST_CLIB.h (include ST_API.h)
See also: PSTR, SIZE, ST_USE_STRING_CLIB
SpaceShadow documentation