Module Name: src
Committed By: riastradh
Date: Fri Aug 11 21:12:11 UTC 2023
Modified Files:
src/lib/libc/string: strncpy.3
Log Message:
strncpy(3): Tiny wording tweak.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 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.11 src/lib/libc/string/strncpy.3:1.12
--- src/lib/libc/string/strncpy.3:1.11 Fri Aug 11 21:11:21 2023
+++ src/lib/libc/string/strncpy.3 Fri Aug 11 21:12:10 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.11 2023/08/11 21:11:21 riastradh Exp $
+.\" $NetBSD: strncpy.3,v 1.12 2023/08/11 21:12:10 riastradh Exp $
.\"
.Dd August 11, 2023
.Dt STRNCPY 3
@@ -98,7 +98,7 @@ and
.Fn strncpy
write exactly
.Fa len
-bytes to it, including nonempty
+bytes to it, which includes nonempty
.Tn NUL
padding only if a
.Tn NUL