---
name: "wcslcpy"
section: "3bsd"
platform: "linux"
package: "libbsd"
version: "0.12.2-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/wcslcpy/3bsd"
---

# wcslcpy(3bsd)

wide character string manipulation operations

## NAME

**wcslcat**, **wcslcpy**, – wide character string manipulation operations

## LIBRARY

library “libbsd”

## SYNOPSIS

**#include \<wchar.h\>**

(See [libbsd(7)](/libbsd/7.md) 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*);

## DESCRIPTION

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)](/strlcpy/3bsd.md).

## SEE ALSO

[strlcat(3bsd)](/strlcat/3bsd.md), [strlcpy(3bsd)](/strlcpy/3bsd.md).

## 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.
