Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenwcscspn.c
Go to the documentation of this file.
00001 /* 00002 * COPYRIGHT: See COPYING in the top level directory 00003 * PROJECT: ReactOS system libraries 00004 * FILE: lib/crt/?????? 00005 * PURPOSE: Unknown 00006 * PROGRAMER: Unknown 00007 * UPDATE HISTORY: 00008 * 25/11/05: Added license header 00009 */ 00010 00011 #include <precomp.h> 00012 00013 /* 00014 * @implemented 00015 */ 00016 size_t wcscspn(const wchar_t *str,const wchar_t *reject) 00017 { 00018 wchar_t *s; 00019 wchar_t *t; 00020 s=(wchar_t *)str; 00021 while (*s) { 00022 t=(wchar_t *)reject; 00023 while (*t) { 00024 if (*t==*s) 00025 break; 00026 t++; 00027 } 00028 if (*t) 00029 break; 00030 s++; 00031 } 00032 return s-str; /* nr of wchars */ 00033 } Generated on Sat May 26 2012 04:35:37 for ReactOS by
1.7.6.1
|