author | Markus Brökers <mbroeker@largo.homelinux.org> |
Sun, 29 Aug 2010 16:36:19 +0200 | |
changeset 145 | 63a5269fb113 |
parent 77 | 49e0babccb23 |
permissions | -rw-r--r-- |
0 | 1 |
/** |
77 | 2 |
* atoi_print.c |
9
c3fecc82ade6
standard tags for git projects
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
8
diff
changeset
|
3 |
* Copyright (C) 2008 Markus Broeker |
0 | 4 |
*/ |
5 |
||
6 |
#include <stdio.h> |
|
7 |
#include <stdlib.h> |
|
8 |
||
9 |
int main (int argc, char **argv) |
|
10 |
{ |
|
63
5a82f89d607e
uint vs size_t and two bugfixes in fak and unicode
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
9
diff
changeset
|
11 |
unsigned int i; |
0 | 12 |
|
13 |
for (i = 1; i < argc; i++) |
|
14 |
printf ("atoi(%s):=%d\n", argv[i], atoi (argv[i])); |
|
8
96d16dfe787a
We use return EXIT_SUCCESS instead of return 0
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
0
diff
changeset
|
15 |
|
96d16dfe787a
We use return EXIT_SUCCESS instead of return 0
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
0
diff
changeset
|
16 |
return EXIT_SUCCESS; |
0 | 17 |
} |