'\" t .\" Copyright, Free Software Foundation .\" Copyright 2002, Walter Harms .\" Copyright, the authors of the Linux man-pages project .\" .\" SPDX-License-Identifier: GPL-1.0-or-later .\" .TH wmempcpy 3 2026-08-10 "Linux man-pages 6.19" .SH NAME wmempcpy \- wide-character memory return-offset-pointer copy .SH LIBRARY Standard C library .RI ( libc ,\~ \-lc ) .SH SYNOPSIS .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include .P .BR "wchar_t *wmempcpy(" "size_t n;" .BI " wchar_t " dest "[restrict " n "], const wchar_t " src "[restrict " n ], .BI " size_t " n ); .fi .SH DESCRIPTION The .BR wmempcpy () is the wide-character equivalent of .BR mempcpy (3). .P It is equivalent to .P .in +4n .EX wmemcpy(dest, src, n) + n .EE .in .SH RETURN VALUE See .BR mempcpy (3). .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). .TS allbox; lbx lb lb l l l. Interface Attribute Value T{ .na .nh .BR wmempcpy () T} Thread safety MT-Safe .TE .SH STANDARDS GNU. .SH HISTORY glibc 2.1. .SH SEE ALSO .BR mempcpy (3)