diff options
author | millert <> | 2001-01-13 16:17:24 +0000 |
---|---|---|
committer | millert <> | 2001-01-13 16:17:24 +0000 |
commit | e6c72dc13e265a35b23f128cfbbc96c6a9d901ec (patch) | |
tree | eb299cd0d71ff2f6b750a6dcea4e9feffb27d27e | |
parent | e1a565880c0c92acbfd5246b2a5cd85e75180f61 (diff) | |
download | openbsd-e6c72dc13e265a35b23f128cfbbc96c6a9d901ec.tar.gz openbsd-e6c72dc13e265a35b23f128cfbbc96c6a9d901ec.tar.bz2 openbsd-e6c72dc13e265a35b23f128cfbbc96c6a9d901ec.zip |
Sync function comment with man page; fanf@covalent.net
-rw-r--r-- | src/lib/libc/string/strlcat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/string/strlcat.c b/src/lib/libc/string/strlcat.c index 5a23ef285c..39125393ce 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.4 2001/01/12 22:55:23 millert Exp $ */ | 1 | /* $OpenBSD: strlcat.c,v 1.5 2001/01/13 16:17:24 millert 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) |
31 | static char *rcsid = "$OpenBSD: strlcat.c,v 1.4 2001/01/12 22:55:23 millert Exp $"; | 31 | static char *rcsid = "$OpenBSD: strlcat.c,v 1.5 2001/01/13 16:17:24 millert 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> |
@@ -37,7 +37,7 @@ static char *rcsid = "$OpenBSD: strlcat.c,v 1.4 2001/01/12 22:55:23 millert Exp | |||
37 | /* | 37 | /* |
38 | * Appends src to string dst of size siz (unlike strncat, siz is the | 38 | * Appends src to string dst of size siz (unlike strncat, siz is the |
39 | * full size of dst, not space left). At most siz-1 characters | 39 | * full size of dst, not space left). At most siz-1 characters |
40 | * will be copied. Always NUL terminates (unless siz == 0). | 40 | * will be copied. Always NUL terminates (unless siz <= strlen(dst)). |
41 | * Returns strlen(initial dst) + strlen(src); if retval >= siz, | 41 | * Returns strlen(initial dst) + strlen(src); if retval >= siz, |
42 | * truncation occurred. | 42 | * truncation occurred. |
43 | */ | 43 | */ |