mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:23:01 +00:00
Create a branch for Aleksandar Andrejevic for his work on NTVDM. See http://jira.reactos.org/browse/CORE-7250 for more details.
svn path=/branches/ntvdm/; revision=59241
This commit is contained in:
parent
3e3200acef
commit
4f0b8d3db0
20620 changed files with 0 additions and 1232833 deletions
|
@ -1,33 +0,0 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
* FILE: lib/crt/??????
|
||||
* PURPOSE: Unknown
|
||||
* PROGRAMER: Unknown
|
||||
* UPDATE HISTORY:
|
||||
* 25/11/05: Added license header
|
||||
*/
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
size_t wcsspn(const wchar_t *str,const wchar_t *accept)
|
||||
{
|
||||
wchar_t *s;
|
||||
wchar_t *t;
|
||||
s=(wchar_t *)str;
|
||||
do {
|
||||
t=(wchar_t *)accept;
|
||||
while (*t) {
|
||||
if (*t==*s)
|
||||
break;
|
||||
t++;
|
||||
}
|
||||
if (!*t)
|
||||
break;
|
||||
s++;
|
||||
} while (*s);
|
||||
return s-str; /* nr of wchars */
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue