wmemset(3)
Canonical URL: /wmemset.3/
WMEMSET(3)
Library Functions Manual
WMEMSET(3)
NAME
wmemset —
write a wide string
SYNOPSIS
#include
<wchar.h>
wchar_t *
wmemset(wchar_t
*s, wchar_t c,
size_t len);
DESCRIPTION
The
wmemset()
function writes len wide characters of value
c to the wide string s.
RETURN VALUES
The wmemset() function returns the
original value of s.
SEE ALSO
STANDARDS
The wmemset() function conforms to
ISO/IEC 9899:1999 (“ISO C99”)
and was first introduced in ISO/IEC 9899/AMD1:1995
(“ISO C90, Amendment 1”).
HISTORY
The wmemset() function was ported from
NetBSD and first appeared in
OpenBSD 3.8.
OpenBSD 7.9 June
5, 2013 WMEMSET(3)
Need conceptual guidance? Continue in the OpenBSD Handbook.