ReactOS
0.4.16-dev-300-g2aadf2e
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
mbsset.c
Go to the documentation of this file.
1
/*
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
6
* PROGRAMER: Ariadne
7
* UPDATE HISTORY:
8
* 12/04/99: Created
9
*/
10
11
#include <mbstring.h>
12
13
size_t
_mbclen2
(
const
unsigned
int
s
);
14
15
/*
16
* @implemented
17
*/
18
unsigned
char
*
_mbsset
(
unsigned
char
*
src
,
unsigned
int
c
)
19
{
20
unsigned
char
*char_src =
src
;
21
unsigned
short
*short_src = (
unsigned
short
*)
src
;
22
23
if
(
_mbclen2
(
c
) == 1 ) {
24
25
while
(*char_src != 0) {
26
*char_src =
c
;
27
char_src++;
28
}
29
*char_src = 0;
30
}
31
else
{
32
while
(*short_src != 0) {
33
*short_src =
c
;
34
short_src++;
35
}
36
*short_src = 0;
37
}
38
39
return
src
;
40
}
s
GLdouble s
Definition:
gl.h:2039
src
GLenum src
Definition:
glext.h:6340
c
const GLubyte * c
Definition:
glext.h:8905
c
#define c
Definition:
ke_i.h:80
_mbclen2
size_t _mbclen2(const unsigned int s)
Definition:
mbclen.c:23
_mbsset
unsigned char * _mbsset(unsigned char *src, unsigned int c)
Definition:
mbsset.c:18
sdk
lib
crt
mbstring
mbsset.c
Generated on Thu Nov 28 2024 06:13:23 for ReactOS by
1.9.6