ReactOS
0.4.15-dev-5863-g1fe3ab7
Functions
memchr.c File Reference
#include <string.h>
Include dependency graph for memchr.c:
Go to the source code of this file.
Functions
void
*
__cdecl
memchr
(
const
void
*
s
,
int
c
,
size_t
n
)
Function Documentation
◆
memchr()
void
*
__cdecl
memchr
(
const
void
*
s
,
int
c
,
size_t
n
)
Definition at line
8
of file
memchr.c
.
9
{
10
if
(
n
)
11
{
12
const
char
*
p
=
s
;
13
do
{
14
if
(*
p
++ ==
c
)
15
return
(
void
*)(
p
-1);
16
}
while
(--
n
!= 0);
17
}
18
return
0;
19
}
s
GLdouble s
Definition:
gl.h:2039
n
GLdouble n
Definition:
glext.h:7729
c
const GLubyte * c
Definition:
glext.h:8905
p
GLfloat GLfloat p
Definition:
glext.h:8902
sdk
lib
crt
mem
memchr.c
Generated on Thu Mar 23 2023 06:17:23 for ReactOS by
1.9.6