- Use EXIT_FAILURE instead of 1. - Use return instead of exit() at the end of main(). - Use sizeof() instead of BUFSIZ.