Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!gorodish!guy From: guy@gorodish.Sun.COM (Guy Harris) Newsgroups: comp.lang.c Subject: Re: return vs exit() Message-ID: <37852@sun.uucp> Date: 5 Jan 88 04:51:46 GMT References: <10875@brl-adm.ARPA> <176@fxgrp.UUCP> <1286@laidbak.UUCP> <454@viper.Lynx.MN.Org> Sender: news@sun.uucp Lines: 20 > 1) /* used in most of the crt0.c code that I've seen */ > main(argc, argv); > exit(0); You obviously haven't seen: 1) the 4.2BSD or 4.3BSD VAX "crt0" code; 2) the System V Release 2 VAX "crt0" code; 3) the SunOS "crt0" code prior to release 2.0; 4) the System V Release 3 WE32K "crt0" code; 5) etc. then. That behavior is actually quite common, at least in UNIX systems.... Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com