-/* $Id:$
- *
+/* $Id$
+ *
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/rtl/strtok.c
* PURPOSE: Unicode and thread safe implementation of strtok
- *
+ *
* PROGRAMMERS: David Welch (welch@mcmail.com)
*/
int c, sc;
char *tok;
static char *last;
-
+
if (s == NULL && (s = last) == NULL)
return (NULL);
PWSTR string;
PWSTR sep;
PWSTR start;
-
+
if (_string!=NULL)
{
string = _string->Buffer;
{
string = *temp;
}
-
+
start = string;
-
+
while ((*string)!=0)
{
sep = _sep;