move running tasks to the private running list
[AROS.git] / scripts / strtoint.c
blob635f6a3040b1c74b8de84ea9882ad00752d52646
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <stdio.h>
7 #include <stdlib.h>
9 int main (int argc, char ** argv)
11 if (argc==1)
12 puts ("0");
13 else
14 printf ("%d\n", strtol (argv[1], NULL, 0));
16 return 0;
17 } /* main */