DragonFly BSD
DragonFly submit List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

/usr/src/lib/libc/string/strlcat.c ANSI function paramater syntax


From: Steve Mynott <steve.mynott@xxxxxxxxx>
Date: Sat, 18 Dec 2004 21:22:02 +0000

--- strlcat.c.orig      2004-10-26 17:10:37.000000000 +0100
+++ strlcat.c   2004-12-18 21:07:23.000000000 +0000
@@ -39,10 +39,9 @@
  * Returns strlen(initial dst) + strlen(src); if retval >= siz,
  * truncation occurred.
  */
-size_t strlcat(dst, src, siz)
-       char *dst;
-       const char *src;
-       size_t siz;
+size_t
+strlcat(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]