Translation update done using Pootle.
[gammu.git] / tests / getint.c
blobcb8962eb8aa0f85dd98ff514952d3d7d7b529dca
1 /**
2 * Test case for GetInt.
3 */
5 #include "../helper/cmdline.h"
6 #include <stdlib.h>
7 #include <stdio.h>
9 int main(int argc, char **argv)
11 if (argc != 2) {
12 printf("Usage: getint number\n");
13 exit(2);
15 printf("Result: %ld\n", GetInt(argv[1]));
16 return 0;