]> err.no Git - linux-2.6/blobdiff - lib/string.c
[PATCH] fix klist semantics for lists which have elements removed on traversal
[linux-2.6] / lib / string.c
index 5c8b55af0df6ec24a9af24c3a4707a52fb8f2573..d886ef157c121ffb04fec4db267ee9af69e01f60 100644 (file)
@@ -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)
 {