summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-07-06 19:17:22 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-07-06 19:17:22 +0000
commitf4c1f9df633c42b29d85736834ad54a976830ada (patch)
treefd5c5f9858f56f11695f7f3afe518b57179c59fa /lib/libc
parent84160aa3a86a74b630b68ccd1a41cfbfc03b156f (diff)
strlxx() return size_t not char *
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/string/strlcpy.36
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