wcslcpy(3bsd)

wcslcpy3bsd

Wide character string manipulation operations

Usage

#include <wchar.h>

(See libbsd(7) for include usage.)

size_t

wcslcat(wchar_t *s1, const wchar_t *s2, size_t n);

size_t

wcslcpy(wchar_t *s1, const wchar_t *s2, size_t n);

Library

library “libbsd”

Overview

The functions implement string manipulation operations over wide character strings. For a detailed description, refer to documents for the respective single-byte counterpart, such as strlcpy(3bsd).

Releases

5 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13–Arch

Standards

wcslcat() and wcslcpy(), which are BSD extensions.

History

The wcslcpy() and wcslcat() functions first appeared in OpenBSD 3.8, NetBSD 1.6, FreeBSD 5.0 and DragonFly 2.1.

From libbsd 0.12.2-2 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.