18 lines
231 B
C
18 lines
231 B
C
|
|
#include <debug.h>
|
|
|
|
#include "wcindex.h"
|
|
|
|
const wchar_t* wcindex(
|
|
const wchar_t* str,
|
|
wchar_t wc)
|
|
{
|
|
while (*str)
|
|
if (*str == wc)
|
|
return str;
|
|
else
|
|
str++;
|
|
|
|
return NULL;
|
|
}
|
|
|