Module Name:    src
Committed By:   riastradh
Date:           Fri Aug 11 21:10:27 UTC 2023

Modified Files:
        src/lib/libc/string: strncpy.3

Log Message:
strncpy(3): Fix typo -- stpncpy, not stpcpy which is different.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 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.9 src/lib/libc/string/strncpy.3:1.10
--- src/lib/libc/string/strncpy.3:1.9	Fri Aug 11 21:09:11 2023
+++ src/lib/libc/string/strncpy.3	Fri Aug 11 21:10:26 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.9 2023/08/11 21:09:11 riastradh Exp $
+.\"	$NetBSD: strncpy.3,v 1.10 2023/08/11 21:10:26 riastradh Exp $
 .\"
 .Dd August 11, 2023
 .Dt STRNCPY 3
@@ -93,7 +93,7 @@ The buffer
 is not guaranteed to hold a
 .Tn NUL Ns -terminated
 string on output;
-.Fn stpcpy
+.Fn stpncpy
 and
 .Fn strncpy
 write exactly

Reply via email to