2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS system libraries
4 * FILE: lib/sdk/crt/mbstring/mbsset.c
5 * PURPOSE: Fills a string with a multibyte character
13 size_t _mbclen2(const unsigned int s
);
18 unsigned char * _mbsset(unsigned char *src
, unsigned int c
)
20 unsigned char *char_src
= src
;
21 unsigned short *short_src
= (unsigned short *)src
;
23 if ( _mbclen2(c
) == 1 ) {
25 while(*char_src
!= 0) {
32 while(*short_src
!= 0) {