| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | return 0 |
ac> So there you go - it's not just convention after all. :-) RM> I see. An "implementation-defined" standard... PE> What are you talking about? 0, EXIT_SUCCESS and EXIT_FAILURE are the ONLY PE> things you can use. Anything else is a BUG. What your compiler does about PE> that BUG is not something that the standard dwells on. What's the problem? Once you've returned a value, that value is not in the domain of the C standard, but in the domain of the op system. From your other reply, I gather that it's rash to make any assumption about what a return value means, beyond 0 = success. So I should be able to use anything, within sensible limits, provided I doc it properly. Cheers --- PPoint 1.88* Origin: Silicon Heaven (3:711/934.16) SEEN-BY: 711/808 934 @PATH: 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.