wmemset.c - scc - simple c99 compiler
 (HTM) git clone git://git.simple-cc.org/scc
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
       wmemset.c (155B)
       ---
            1 #include <wchar.h>
            2 
            3 #undef wmemset
            4 
            5 wchar_t *
            6 wmemset(wchar_t *d, wchar_t wc, size_t n)
            7 {
            8         wchar_t *ret = d;
            9 
           10         while (n-- > 0)
           11                 *d++ = wc;
           12         return ret;
           13 }