OpenBSD manual page server

Manual Page Search Parameters

WMEMSET(3) Library Functions Manual WMEMSET(3)

wmemsetwrite a wide string

#include <wchar.h>

wchar_t *
wmemset(wchar_t *s, wchar_t c, size_t len);

The wmemset() function writes len wide characters of value c to the wide string s.

The wmemset() function returns the original value of s.

memset(3)

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

The wmemset() function was ported from NetBSD and first appeared in OpenBSD 3.8.

June 5, 2013 OpenBSD-current