diff options
author | millert <> | 1998-07-06 19:17:21 +0000 |
---|---|---|
committer | millert <> | 1998-07-06 19:17:21 +0000 |
commit | 434631ffba69d4617274ef90816eddb0e6a7e0d4 (patch) | |
tree | 8c91189673e453d0197ad126bd6d6401c794ba1b | |
parent | f596336fdffaf5a34088009d7ddde85ad201b499 (diff) | |
download | openbsd-434631ffba69d4617274ef90816eddb0e6a7e0d4.tar.gz openbsd-434631ffba69d4617274ef90816eddb0e6a7e0d4.tar.bz2 openbsd-434631ffba69d4617274ef90816eddb0e6a7e0d4.zip |
strlxx() return size_t not char *
-rw-r--r-- | src/lib/libc/string/strlcpy.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/string/strlcpy.3 b/src/lib/libc/string/strlcpy.3 index e1ff016aaf..5ce444d6fa 100644 --- a/src/lib/libc/string/strlcpy.3 +++ b/src/lib/libc/string/strlcpy.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: strlcpy.3,v 1.1 1998/07/01 01:29:45 millert Exp $ | 1 | .\" $OpenBSD: strlcpy.3,v 1.2 1998/07/06 19:17:21 millert Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> | 3 | .\" Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> |
4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
@@ -34,9 +34,9 @@ | |||
34 | .Nd size-bounded string copying and concatenation | 34 | .Nd size-bounded string copying and concatenation |
35 | .Sh SYNOPSIS | 35 | .Sh SYNOPSIS |
36 | .Fd #include <string.h> | 36 | .Fd #include <string.h> |
37 | .Ft char * | 37 | .Ft size_t |
38 | .Fn strlcpy "char *dst" "const char *src" "size_t size" | 38 | .Fn strlcpy "char *dst" "const char *src" "size_t size" |
39 | .Ft char * | 39 | .Ft size_t |
40 | .Fn strlcat "char *dst" "const char *src" "size_t size" | 40 | .Fn strlcat "char *dst" "const char *src" "size_t size" |
41 | .Sh DESCRIPTION | 41 | .Sh DESCRIPTION |
42 | The | 42 | The |