Module Name: src Committed By: wiz Date: Sun Aug 13 04:20:08 UTC 2023
Modified Files: src/lib/libc/string: memcpy.3 Log Message: memcpy: consistency in prototype and fix sentence To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/string/memcpy.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/memcpy.3 diff -u src/lib/libc/string/memcpy.3:1.14 src/lib/libc/string/memcpy.3:1.15 --- src/lib/libc/string/memcpy.3:1.14 Tue Aug 1 17:51:25 2023 +++ src/lib/libc/string/memcpy.3 Sun Aug 13 04:20:07 2023 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)memcpy.3 8.1 (Berkeley) 6/4/93 -.\" $NetBSD: memcpy.3,v 1.14 2023/08/01 17:51:25 christos Exp $ +.\" $NetBSD: memcpy.3,v 1.15 2023/08/13 04:20:07 wiz Exp $ .\" .Dd August 1, 2023 .Dt MEMCPY 3 @@ -45,7 +45,7 @@ .Ft void * .Fn memcpy "void * restrict dst" "const void * restrict src" "size_t len" .Ft void * -.Fn mempcpy "void *restrict dst" "const void * restrict src" "size_t len" +.Fn mempcpy "void * restrict dst" "const void * restrict src" "size_t len" .Sh DESCRIPTION The .Fn memcpy @@ -67,11 +67,11 @@ The .Fn memcpy function returns the original value of +.Fa dst . .Pp The .Fn mempcpy function returns a pointer to the byte after the last written byte. -.Fa dst . .Sh SEE ALSO .Xr bcopy 3 , .Xr memccpy 3 ,