string.linux-2.6.10/lib/c: documentation strncpy()
Subsystems (3)
hi list,
this clarifys the documentation on the behavier of strncpy().
re,
walter
lib/string.c renamed from lib/c.bak +4 -0
@@ -87,6 +87,10 @@* * 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) {
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors