Cedric Doucet <[email protected]> writes: >> No, use 0. It's less typing and that is something that will definitely >> never change. > > I understand but it could be a good thing to give it the same value as > EXIT_SUCCESS (from cstdlib) because this value is not always zero.
C11 ยง7.22.4.4 "If the value of status is zero or EXIT_SUCCESS, an implementation-defined form of the status successful termination is returned." i.e., you can always exit(0) for success.
pgpefaWTSioer.pgp
Description: PGP signature
