Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!psuvax1!psuvm!cmh117 From: CMH117@PSUVM.BITNET (Charles Hannum) Newsgroups: comp.lang.c Subject: Re: (* func)(fred, bert) Message-ID: <89318.115828CMH117@PSUVM.BITNET> Date: 14 Nov 89 16:58:28 GMT References: <2387@stl.stc.co.uk> <744@lakart.UUCP> <0175@sheol.UUCP> <812@bbm.UUCP> Organization: Penn State University Lines: 14 The only problem I can forsee with declaring main() as a void is that the return value will be undefined. While this will not be a problem on most systems (since you probably wouldn't be checking the return code anyway), I know that specifically on VM/CMS *ANY* non-zero return code is flagged as an error, and rightly so. As far as I'm concerned, main() should ***ALWAYS*** return a value, even if it is merely a zero. -- - Charles Martin Hannum II "Klein bottle for sale... Inquire within." (and PROUD OF IT!!!) "To life immortal!" c9h@psuecl.psu.edu "No noozzzz izzz netzzznoozzzzz..." cmh117@psuvm.psu.edu "Memories, all alone in the moonlight ..."