" -h: this help message\n"
" -s <integer>: set the random seed (default 4951)\n"
" -n <integer>: choose number of insults (default 4)\n"
- " -f <filename>: redirect output to a File.\n");
+ " -f <file>: redirect output to <file>\n");
exit (ret_code);
}
if (handle < 0)
{
printf ("%s: open failed\n", argv[i]);
- return -1;
+ return EXIT_FAILURE;
}
}
else
if (file_flag)
close (handle);
- return 0;
+ return EXIT_SUCCESS;
}
void