cpp/string/byte/strncpy

Copies at most characters of the byte string pointed to by  (including the terminating null character) to character array pointed to by.

If is reached before the entire string  was copied, the resulting character array is not null-terminated.

If, after copying the terminating null character from, is not reached, additional null characters are written to  until the total of  characters have been written.

If the strings overlap, the behavior is undefined.