diff options
Diffstat (limited to 'src/lib/libc/string/strlcpy.3')
-rw-r--r-- | src/lib/libc/string/strlcpy.3 | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/lib/libc/string/strlcpy.3 b/src/lib/libc/string/strlcpy.3 index a14145e199..4607289883 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.27 2019/01/25 00:19:25 millert Exp $ | 1 | .\" $OpenBSD: strlcpy.3,v 1.28 2024/08/03 20:13:23 guenther Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1998, 2000 Todd C. Miller <millert@openbsd.org> | 3 | .\" Copyright (c) 1998, 2000 Todd C. Miller <millert@openbsd.org> |
4 | .\" | 4 | .\" |
@@ -14,7 +14,7 @@ | |||
14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | .\" | 16 | .\" |
17 | .Dd $Mdocdate: January 25 2019 $ | 17 | .Dd $Mdocdate: August 3 2024 $ |
18 | .Dt STRLCPY 3 | 18 | .Dt STRLCPY 3 |
19 | .Os | 19 | .Os |
20 | .Sh NAME | 20 | .Sh NAME |
@@ -24,9 +24,9 @@ | |||
24 | .Sh SYNOPSIS | 24 | .Sh SYNOPSIS |
25 | .In string.h | 25 | .In string.h |
26 | .Ft size_t | 26 | .Ft size_t |
27 | .Fn strlcpy "char *dst" "const char *src" "size_t dstsize" | 27 | .Fn strlcpy "char * restrict dst" "const char * restrict src" "size_t dstsize" |
28 | .Ft size_t | 28 | .Ft size_t |
29 | .Fn strlcat "char *dst" "const char *src" "size_t dstsize" | 29 | .Fn strlcat "char * restrict dst" "const char * restrict src" "size_t dstsize" |
30 | .Sh DESCRIPTION | 30 | .Sh DESCRIPTION |
31 | The | 31 | The |
32 | .Fn strlcpy | 32 | .Fn strlcpy |
@@ -174,6 +174,13 @@ As a matter of fact, the first version of this manual page got it wrong. | |||
174 | .Xr strncat 3 , | 174 | .Xr strncat 3 , |
175 | .Xr strncpy 3 , | 175 | .Xr strncpy 3 , |
176 | .Xr wcslcpy 3 | 176 | .Xr wcslcpy 3 |
177 | .Sh STANDARDS | ||
178 | The | ||
179 | .Fn strlcat | ||
180 | and | ||
181 | .Fn strlcpy | ||
182 | functions conform to | ||
183 | .St -p1003.1-2024 . | ||
177 | .Sh HISTORY | 184 | .Sh HISTORY |
178 | .Fn strlcpy | 185 | .Fn strlcpy |
179 | and | 186 | and |