Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site rexago1.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!cwruecmp!rexago1!rich From: rich@rexago1.UUCP (K. Richard Magill) Newsgroups: net.lang.c,net.unix Subject: return() vs. exit() vs. _exit() Message-ID: <178@rexago1.UUCP> Date: Fri, 24-Jan-86 13:33:14 EST Article-I.D.: rexago1.178 Posted: Fri Jan 24 13:33:14 1986 Date-Received: Sun, 26-Jan-86 04:01:27 EST Distribution: net Organization: Roadway Express Inc., Akron, OH Lines: 8 Xref: watmath net.lang.c:7647 net.unix:6921 I'm on a binary only 3b2/300 running SV.2.2 so... What's the difference between leaving main by return() vs exit() vs _exit()? I mean in reality, by proposed standards (X3J11 can you hear me?), and functionally (like on my machine). Who closes file descriptors? Who reclaims memory? What about shared memory? What is a gate 4, 8? K. Richard Magill