Manpage logo

wcslcpy - wide character string manipulation operations


wcslcpy(3bsd) LOCAL wcslcpy(3bsd)

NAME

wcslcat, wcslcpy, — wide character string manipulation operations

LIBRARY

Utility functions from BSD systems (libbsd, −lbsd)

SYNOPSIS

#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);

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

SEE ALSO

strlcat(3bsd), strlcpy(3bsd).

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. GNU March 4, 2009 wcslcpy(3bsd)


Updated 2026-06-01 - jenkler.se | uex.se