base10.c
changeset 61 4b4c97f179da
parent 51 a03372ef9714
child 77 49e0babccb23
equal deleted inserted replaced
60:47c13ca8c4d0 61:4b4c97f179da
    45 {
    45 {
    46     long *v;
    46     long *v;
    47     int i;
    47     int i;
    48 
    48 
    49     if (argc != 2) {
    49     if (argc != 2) {
    50         printf ("Usage: %s [value]\n", argv[0]);
    50         printf ("Usage: %s <value>\n", argv[0]);
    51         return EXIT_FAILURE;
    51         return EXIT_FAILURE;
    52     }
    52     }
    53 
    53 
    54     if ((v = base10 (atol (argv[1]))) == NULL) {
    54     if ((v = base10 (atol (argv[1]))) == NULL) {
    55         perror ("base10");
    55         perror ("base10");