diff options
author | 1998-07-06 19:17:21 +0000 | |
---|---|---|
committer | 1998-07-06 19:17:21 +0000 | |
commit | 490d46479b00fa60cdb3362f851d1dcaf981ac58 (patch) | |
tree | 095dcee0839b23c43e7b21d308997f8dbc0a84fe /lib/libc/string | |
parent | do the right thing if maxsiz == 0 (diff) | |
download | wireguard-openbsd-490d46479b00fa60cdb3362f851d1dcaf981ac58.tar.xz wireguard-openbsd-490d46479b00fa60cdb3362f851d1dcaf981ac58.zip |
strlxx() return size_t not char *
Diffstat (limited to 'lib/libc/string')
-rw-r--r-- | lib/libc/string/strlcpy.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/strlcpy.3 b/lib/libc/string/strlcpy.3 index e1ff016aafd..5ce444d6fab 100644 --- a/lib/libc/string/strlcpy.3 +++ b/lib/libc/string/strlcpy.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strlcpy.3,v 1.1 1998/07/01 01:29:45 millert Exp $ +.\" $OpenBSD: strlcpy.3,v 1.2 1998/07/06 19:17:21 millert Exp $ .\" .\" Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> .\" All rights reserved. @@ -34,9 +34,9 @@ .Nd size-bounded string copying and concatenation .Sh SYNOPSIS .Fd #include <string.h> -.Ft char * +.Ft size_t .Fn strlcpy "char *dst" "const char *src" "size_t size" -.Ft char * +.Ft size_t .Fn strlcat "char *dst" "const char *src" "size_t size" .Sh DESCRIPTION The |