low_str_strncat Append characters of a string. l_text low_str_strncat ( l_text s1, cl_text s2, l_size_t max );
Return Value
Returns a pointer to the destination string. No return value is reserved to indicate an error.
Parameters
s1
Null-terminated destination string
s2
Null-terminated source string
max
Number of characters to append
Remarks
The low_str_strncat function appends, at most, the first @max characters of @s2 to @s1. The initial character of @s2 overwrites the terminating null character of @s1t. If a null character appears in @s2 before @max characters are appended, low_str_strncat appends all characters from @s2, up to the null character. If @max is greater than the length of @s2, the length of @s2 is used in place of @max. The resulting string is terminated with a null character. If copying takes place between strings that overlap, the behavior is undefined.