I have heard that return -1 is not portable. So what would be the answer
to portability in this case? What about exit(0) and exit (-1) or exit (1)?
Or would it be best to stick with C's macros, hence:
exit(EXIT_FAILU RE)
exit (EXIT_SUCCESS)
Bill
to portability in this case? What about exit(0) and exit (-1) or exit (1)?
Or would it be best to stick with C's macros, hence:
exit(EXIT_FAILU RE)
exit (EXIT_SUCCESS)
Bill
Comment