From owner-freebsd-hackers Thu Sep 5 11:21:52 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA07276 for hackers-outgoing; Thu, 5 Sep 1996 11:21:52 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA07271 for ; Thu, 5 Sep 1996 11:21:30 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id LAA09561; Thu, 5 Sep 1996 11:18:23 -0700 From: Terry Lambert Message-Id: <199609051818.LAA09561@phaeton.artisoft.com> Subject: Re: void main To: Leonard@pacbell.net (Leonard Chung) Date: Thu, 5 Sep 1996 11:18:22 -0700 (MST) Cc: j@uriah.heep.sax.de, hackers@freebsd.org In-Reply-To: <1.5.4.32.19960905055112.00682a34@pacbell.net> from "Leonard Chung" at Sep 4, 96 10:51:12 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > >It violates ANSI when used in a hosted environment. > > What's the difference between a freestanding and hosted environment? From > the wording, I think I have a general idea, but I'm not completely definate. A hosted program must return a status code to the environment which is hosting it. A freestanding program never exits, and therefore is not required to obey the status-code protocol. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.