ac> and that if the value of the parameter passed to exit() is zero of
ac> EXIT_SUCCESS, an "implementation-defined form of the status successful
ac> termination is returned". It continues, "If the value of
[the parameter
ac> passed to exit()] is EXIT_FAILURE, an implementation-defined form of the
ac> status unsuccessful termination is returned. Otherwise the status
ac> returned
ac> is implementation defined."
ac> So there you go - it's not just convention after all. :-)
RM> I see. An "implementation-defined" standard...
What are you talking about? 0, EXIT_SUCCESS and EXIT_FAILURE are the ONLY
things you can use. Anything else is a BUG. What your compiler does about
that BUG is not something that the standard dwells on. What's the problem?
BFN. Paul.
@EOT:
---
* Origin: X (3:711/934.9)
|