repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add dxtn support library api for runtime s3tc
[AROS.git]
/
scripts
/
strtoint.c
blob
635f6a3040b1c74b8de84ea9882ad00752d52646
1
/*
2
Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3
$Id$
4
*/
5
6
#include <stdio.h>
7
#include <stdlib.h>
8
9
int
main
(
int
argc
,
char
**
argv
)
10
{
11
if
(
argc
==
1
)
12
puts
(
"0"
);
13
else
14
printf
(
"%d
\n
"
,
strtol
(
argv
[
1
],
NULL
,
0
));
15
16
return
0
;
17
}
/* main */