Module Name: src
Committed By: riastradh
Date: Fri Aug 11 21:11:21 UTC 2023
Modified Files:
src/lib/libc/string: strncpy.3
Log Message:
strncpy(3): Reword to make sentence structure parallel.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libc/string/strncpy.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/string/strncpy.3
diff -u src/lib/libc/string/strncpy.3:1.10 src/lib/libc/string/strncpy.3:1.11
--- src/lib/libc/string/strncpy.3:1.10 Fri Aug 11 21:10:26 2023
+++ src/lib/libc/string/strncpy.3 Fri Aug 11 21:11:21 2023
@@ -31,7 +31,7 @@
.\"
.\" from: @(#)strcpy.3 8.1 (Berkeley) 6/4/93
.\" from: NetBSD: strcpy.3,v 1.23 2015/04/01 20:18:17 riastradh Exp
-.\" $NetBSD: strncpy.3,v 1.10 2023/08/11 21:10:26 riastradh Exp $
+.\" $NetBSD: strncpy.3,v 1.11 2023/08/11 21:11:21 riastradh Exp $
.\"
.Dd August 11, 2023
.Dt STRNCPY 3
@@ -76,9 +76,9 @@ The buffer
.Fa src
is not required to hold a
.Tn NUL Ns -terminated
-string on input; it is only required to have
+string on input; it is only required
.Em either
-at least
+to have at least
.Fa len
bytes allocated and initialized,
.Em or