DragonFly submit List (threaded) for 2004-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
/usr/src/lib/libc/string/strlcpy.c ANSI function declaration
--- strlcpy.c.orig 2004-10-26 17:10:37.000000000 +0100
+++ strlcpy.c 2004-12-19 11:50:17.000000000 +0000
@@ -39,10 +39,8 @@
* will be copied. Always NUL terminates (unless siz == 0).
* Returns strlen(src); if retval >= siz, truncation occurred.
*/
-size_t strlcpy(dst, src, siz)
- char *dst;
- const char *src;
- size_t siz;
+size_t
+strlcpy(char *dst, const char *src, size_t siz)
{
char *d = dst;
const char *s = src;
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]