Loading...
string/FreeBSD/memccpy.3 Libc-763.13 Libc-997.1.1
--- Libc/Libc-763.13/string/FreeBSD/memccpy.3
+++ Libc/Libc-997.1.1/string/FreeBSD/memccpy.3
@@ -39,7 +39,12 @@
 .Sh SYNOPSIS
 .In string.h
 .Ft void *
-.Fn memccpy "void *dst" "const void *src" "int c" "size_t len"
+.Fo memccpy
+.Fa "void *restrict dst"
+.Fa "const void *restrict src"
+.Fa "int c"
+.Fa "size_t n"
+.Fc
 .Sh DESCRIPTION
 The
 .Fn memccpy
@@ -58,8 +63,11 @@
 .Fa dst
 is returned.
 Otherwise,
-.Fa len
+.Fa n
 bytes are copied, and a NULL pointer is returned.
+.Pp
+The source and destination strings should not overlap, as the
+behavior is undefined.
 .Sh SEE ALSO
 .Xr bcopy 3 ,
 .Xr memcpy 3 ,