Loading lib/string.c +4 −0 Original line number Diff line number Diff line Loading @@ -86,6 +86,10 @@ EXPORT_SYMBOL(strcpy); * * The result is not %NUL-terminated if the source exceeds * @count bytes. * * In the case where the length of @src is less than that of * count, the remainder of @dest will be padded with %NUL. * */ char * strncpy(char * dest,const char *src,size_t count) { Loading Loading
lib/string.c +4 −0 Original line number Diff line number Diff line Loading @@ -86,6 +86,10 @@ EXPORT_SYMBOL(strcpy); * * The result is not %NUL-terminated if the source exceeds * @count bytes. * * In the case where the length of @src is less than that of * count, the remainder of @dest will be padded with %NUL. * */ char * strncpy(char * dest,const char *src,size_t count) { Loading