void main() is the devil.
anyways, i dont see how using exit() is more portable than return 0 is. are you saying that if you tried to check the return value of a program, it will be 0, so it could cause some errors if you were doing something thats dependent on what a program returned? pretty complex concept or its just me .