summaryrefslogtreecommitdiffstats
path: root/man3/mempcpy.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/mempcpy.3')
-rw-r--r--man3/mempcpy.313
1 files changed, 6 insertions, 7 deletions
diff --git a/man3/mempcpy.3 b/man3/mempcpy.3
index 46337c2..376636f 100644
--- a/man3/mempcpy.3
+++ b/man3/mempcpy.3
@@ -6,7 +6,7 @@
.\" Heavily based on glibc infopages, copyright Free Software Foundation
.\"
.\" aeb, 2003, polished a little
-.TH mempcpy 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH mempcpy 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
mempcpy, wmempcpy \- copy memory area
.SH LIBRARY
@@ -16,13 +16,13 @@ Standard C library
.nf
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
.B #include <string.h>
-.PP
+.P
.BI "void *mempcpy(void " dest "[restrict ." n "], const void " src "[restrict ." n ],
.BI " size_t " n );
-.PP
+.P
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
.B #include <wchar.h>
-.PP
+.P
.BI "wchar_t *wmempcpy(wchar_t " dest "[restrict ." n ],
.BI " const wchar_t " src "[restrict ." n ],
.BI " size_t " n );
@@ -42,10 +42,10 @@ into the object pointed to by
But instead of returning the value of
.I dest
it returns a pointer to the byte following the last written byte.
-.PP
+.P
This function is useful in situations where a number of objects
shall be copied to consecutive memory positions.
-.PP
+.P
The
.BR wmempcpy ()
function is identical but takes
@@ -72,7 +72,6 @@ T{
.BR wmempcpy ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
GNU.
.SH HISTORY