2.14.14 strncpy
Declaration:
char *strncpy(char *
str1, const char *
str2, size_t
n);
Copies up to n characters from the string pointed to by str2 to str1. Copying stops when n characters are copied or the terminating null character in str2 is reached. If the null character is reached, the null characters are continually copied to str1 until n characters have been copied.
Returns the argument str1.