wmempcpy(3)

wmempcpy3

Wide-character memory return-offset-pointer copy

Usage

#define _GNU_SOURCE         /* See feature_test_macros(7) */
#include <wchar.h>

wchar_t *wmempcpy(size_t n; wchar_t dest[restrict n], const wchar_t src[restrict n], size_t n);

Library

Standard C library (libc, -lc)

Overview

The wmempcpy() is the wide-character equivalent of mempcpy(3).

It is equivalent to

wmemcpy(dest, src, n) + n

Return value

See mempcpy(3).

Attributes

For an explanation of the terms used in this section, see attributes(7).

InterfaceAttributeValue
wmempcpy()Thread safetyMT-Safe

Releases

12 releases since Debian 3.1 (Sarge); the text changed 11 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9
  8. 10
  9. 11
  10. 12
  11. 13
  12. Arch

Standards

GNU.

History

glibc 2.1.

From man-pages 6.19-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.