char * strncpy
Where to copy the string to
Where to copy the string from
The maximum number of bytes to copy
Note that unlike userspace strncpy, this does not NUL-pad the buffer. However, the result is not NUL-terminated if the source exceeds count bytes.