Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!ucla-cs!zen!ucbvax!csc32.DEC.COM!hagerty From: hagerty@csc32.DEC.COM (Veni, Vedi, Crashi) Newsgroups: comp.os.vms Subject: VAX C and SYS$OUTPUT Message-ID: <8709122203.AA17949@decwrl.dec.com> Date: Sat, 12-Sep-87 18:02:00 EDT Article-I.D.: decwrl.8709122203.AA17949 Posted: Sat Sep 12 18:02:00 1987 Date-Received: Sun, 13-Sep-87 10:44:32 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 12 > As you may have gathered from the above, the way to avoid this unfortunate > (in a few cases; one that comes immediately to mind is a print symbiont) > state of affairs, just don't have a "main" routine. Bear in mind that this > also means you've got to parse the command line yourself. Not using a main() function in your C program also means that things like getenv and ^C trapping from signal() no longer work. There are several other functions in C that will not work without a main because of the initialization that is done there. Dave()