some fixes to accented characters
[tangerine.git] / scripts / strtoint.c
blob50ca0c218fedaff08e027504e9e70778c046c497
1 #include <stdio.h>
2 #include <stdlib.h>
4 int main (int argc, char ** argv)
6 if (argc==1)
7 puts ("0");
8 else
9 printf ("%d\n", strtol (argv[1], NULL, 0));
11 return 0;
12 } /* main */