#include <string.h>
signed char *strncpy (
signed char *dst, /* destination string */
const signed char *src, /* source string */
unsigned int len); /* max characters to copy */
Description
The strncpy function copies at most len
characters from src to dst.
Characters are copied until a null character ('\0') is copied or
until len characters have been copied. If the
length of src is less than len the remaining bytes in
dst are padded with null characters ('\0').
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.