Defined in header <string.h> (1) char *strncpy( char *dest, const char *src, size_t count ); (until C99) char *strncpy( char *restrict dest, const char *restrict src, size_t count ); (since C99) errno_t strncpy_s(char *restrict dest, rsize_t destsz,
const char *restrict src, rsize_t count); (2) (since C11)
1) Copies at most count characters of the character array pointed to by src (including the terminating null character, but not any of the c