summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strlcat.c
diff options
context:
space:
mode:
authorderaadt <>2001-05-13 15:40:16 +0000
committerderaadt <>2001-05-13 15:40:16 +0000
commit4b1cda6c82280e25df0e27631b5e4cf636ef7b1b (patch)
tree9b74f6215e3d012c2595d88d45a8920c8e1c096a /src/lib/libc/string/strlcat.c
parent8a08da6ca74511062a42107931dccd8893ae4c00 (diff)
downloadopenbsd-4b1cda6c82280e25df0e27631b5e4cf636ef7b1b.tar.gz
openbsd-4b1cda6c82280e25df0e27631b5e4cf636ef7b1b.tar.bz2
openbsd-4b1cda6c82280e25df0e27631b5e4cf636ef7b1b.zip
type of function on seperate line
Diffstat (limited to 'src/lib/libc/string/strlcat.c')
-rw-r--r--src/lib/libc/string/strlcat.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libc/string/strlcat.c b/src/lib/libc/string/strlcat.c
index b8725c37ff..b309648155 100644
--- a/src/lib/libc/string/strlcat.c
+++ b/src/lib/libc/string/strlcat.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: strlcat.c,v 1.7 2001/05/07 15:42:46 millert Exp $ */ 1/* $OpenBSD: strlcat.c,v 1.8 2001/05/13 15:40:15 deraadt Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> 4 * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -28,7 +28,7 @@
28 */ 28 */
29 29
30#if defined(LIBC_SCCS) && !defined(lint) 30#if defined(LIBC_SCCS) && !defined(lint)
31static char *rcsid = "$OpenBSD: strlcat.c,v 1.7 2001/05/07 15:42:46 millert Exp $"; 31static char *rcsid = "$OpenBSD: strlcat.c,v 1.8 2001/05/13 15:40:15 deraadt Exp $";
32#endif /* LIBC_SCCS and not lint */ 32#endif /* LIBC_SCCS and not lint */
33 33
34#include <sys/types.h> 34#include <sys/types.h>
@@ -41,7 +41,8 @@ static char *rcsid = "$OpenBSD: strlcat.c,v 1.7 2001/05/07 15:42:46 millert Exp
41 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 41 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
42 * If retval >= siz, truncation occurred. 42 * If retval >= siz, truncation occurred.
43 */ 43 */
44size_t strlcat(dst, src, siz) 44size_t
45strlcat(dst, src, siz)
45 char *dst; 46 char *dst;
46 const char *src; 47 const char *src;
47 size_t siz; 48 size_t siz;