ReactOS
0.4.15-dev-7958-gcd0bb1a
wcsstr.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/wstring/wcsstr.c
5
* PURPOSE: Unknown
6
* PROGRAMER: Unknown
7
* UPDATE HISTORY:
8
* 25/11/05: Added license header
9
*/
10
11
#include <precomp.h>
12
13
/*
14
* @implemented
15
*/
16
wchar_t
*
CDECL
wcsstr
(
const
wchar_t
*
s
,
const
wchar_t
*
b
)
17
{
18
wchar_t
*
x
;
19
wchar_t
*
y
;
20
wchar_t
*
c
;
21
x
=(
wchar_t
*)
s
;
22
while
(*
x
) {
23
if
(*
x
==*
b
) {
24
y
=
x
;
25
c
=(
wchar_t
*)
b
;
26
while
(*
y
&& *
c
&& *
y
==*
c
) {
27
c
++;
28
y
++;
29
}
30
if
(!*
c
)
31
return
x
;
32
}
33
x
++;
34
}
35
return
NULL
;
36
}
NULL
#define NULL
Definition:
types.h:112
CDECL
#define CDECL
Definition:
compat.h:29
x
GLint GLint GLint GLint GLint x
Definition:
gl.h:1548
s
GLdouble s
Definition:
gl.h:2039
y
GLint GLint GLint GLint GLint GLint y
Definition:
gl.h:1548
c
const GLubyte * c
Definition:
glext.h:8905
b
GLboolean GLboolean GLboolean b
Definition:
glext.h:6204
c
#define c
Definition:
ke_i.h:80
wcsstr
wchar_t *CDECL wcsstr(const wchar_t *s, const wchar_t *b)
Definition:
wcsstr.c:16
sdk
lib
crt
wstring
wcsstr.c
Generated on Fri Apr 26 2024 06:13:23 for ReactOS by
1.9.6