logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

wmemset - fill an array of wide-characters with a constant wide character

Attributes

       For an explanation of the terms used in this section, see attributes(7).
       ┌─────────────────────────────────────────────────────────────────────────────┬───────────────┬─────────┐
       │ InterfaceAttributeValue   │
       ├─────────────────────────────────────────────────────────────────────────────┼───────────────┼─────────┤
       │ wmemset()                                                                   │ Thread safety │ MT-Safe │
       └─────────────────────────────────────────────────────────────────────────────┴───────────────┴─────────┘

Description

       The wmemset() function is the wide-character equivalent of the memset(3) function.  It fills the array of
       n wide-characters starting at wcs with n copies of the wide character wc.

History

       POSIX.1-2001, C99.

Library

       Standard C library (libc, -lc)

Name

       wmemset - fill an array of wide-characters with a constant wide character

Return Value

wmemset() returns wcs.

See Also

memset(3)

Linux man-pages 6.9.1                              2024-05-02                                         wmemset(3)

Standards

       C11, POSIX.1-2008.

Synopsis

#include<wchar.h>wchar_t*wmemset(wchar_twcs[.n],wchar_twc,size_tn);

See Also