Path: utzoo!attcan!uunet!samsung!gem.mps.ohio-state.edu!mips!ardent!mac From: mac@ardent.com Newsgroups: comp.lang.c Subject: Re: (* func)(fred, bert) Message-ID: Date: 21 Nov 89 18:38:42 GMT References: <2387@stl.stc.co.uk> <744@lakart.UUCP> <0175@sheol.UUCP> <812@bbm.UUCP> <89318.115828CMH117@PSUVM.BITNET> <1541@bnlux0.bnl.gov> <1989Nov21.015949.18974@sq.sq.com> Sender: news@ardent.UUCP Reply-To: mac@ardent.com (Michael McNamara) Organization: Ardent Computer Corporation, Sunnyvale, CA Lines: 22 In-reply-to: lee@sq.sq.com's message of 21 Nov 89 01:59:49 GMT > In article <1989Nov21.015949.18974@sq.sq.com> lee@sq.sq.com (Liam > R. E. Quin) writes: Kushmer>VMS also complains when main() returns a non-odd value. Lee> Please explain -- in what way is a non-odd value different from an even Lee> value? Lee> Lee> Can main() return 0 (which is certainly not an odd number) safely? Lee> Lee> I am concerned about portaility. Or did I miss a ":-)"? Lee> In VMS, i believe, odd means ok, even means error. Hence c programs that return or exit 0 will be viewed by DCL as exiting with an error. Disclaimer: My VMS memory is very fuzzy... -- Michael McNamara (St)ardent, Inc. mac@ardent.com