diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libc/string/strlcpy.3 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libc/string/strlcpy.3 b/src/lib/libc/string/strlcpy.3 index 3d50e0b0f6..8bb1b3a1e2 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.12 2001/05/07 15:51:54 millert Exp $ | 1 | .\" $OpenBSD: strlcpy.3,v 1.13 2001/06/18 22:29:59 millert Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1998, 2000 Todd C. Miller <Todd.Miller@courtesan.com> | 3 | .\" Copyright (c) 1998, 2000 Todd C. Miller <Todd.Miller@courtesan.com> |
4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
@@ -125,7 +125,9 @@ traverses | |||
125 | .Fa size | 125 | .Fa size |
126 | characters without finding a NUL, the length of the string is considered | 126 | characters without finding a NUL, the length of the string is considered |
127 | to be | 127 | to be |
128 | .Fa size . | 128 | .Fa size |
129 | and the destination string will not be NUL-terminated (since there was | ||
130 | no space for the NUL). | ||
129 | This keeps | 131 | This keeps |
130 | .Fn strlcat | 132 | .Fn strlcat |
131 | from running off the end of a string. | 133 | from running off the end of a string. |