low_str_strncpy
Copy characters of one string to another. l_text low_str_strncpy ( l_text s1, cl_text s2, l_size_t max );
Return Value
Returns @s1. No return value is reserved to indicate an error.
Parameters
s1
Destination string
s2
Source string
max
Number of characters to be copied
Remarks
The low_str_strncpy function copies the initial @max characters of @s2 to @s1 and returns @s1. If @max is less than or equal to the length of @s2, a null character is not appended automatically to the copied string. If @max is greater than the length of @s2, the destination string is padded with null characters up to length @max. The behavior of low_str_strncpy is undefined if the source and destination strings overlap.