#include <string.h>
#include <ctype.h>
#include <basetsd.h>
Go to the source code of this file.
◆ _wtol()
Definition at line 11 of file wtol.c.
12{
13 unsigned long RunningTotal = 0;
14 char bMinus = 0;
15
17 return 0;
18
21 }
22
25 }
else if (*
str ==
L'-') {
26 bMinus = 1;
28 }
29
30 while (*
str >=
L'0' && *
str <=
L'9') {
31 RunningTotal = RunningTotal * 10 + *
str -
L'0';
33 }
34
35 return bMinus ? 0-RunningTotal : RunningTotal;
36}
int __cdecl iswctype(wint_t wc, wctype_t wctypeFlags)