Something went wrong. Try again.
Reactos
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries * FILE: lib/sdk/crt/wstring/wcsspn.c * PURPOSE: Unknown * PROGRAMER: Unknown * UPDATE HISTORY: * 25/11/05: Added license header */
#include <precomp.h>
/* * @implemented */size_t CDECL 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 */}