From owner-freebsd-hackers Thu Sep 5 01:10:40 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA00591 for hackers-outgoing; Thu, 5 Sep 1996 01:10:40 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA00585 for ; Thu, 5 Sep 1996 01:10:36 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id KAA27639; Thu, 5 Sep 1996 10:09:33 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id KAA11775; Thu, 5 Sep 1996 10:09:32 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id KAA00638; Thu, 5 Sep 1996 10:02:23 +0200 (MET DST) From: J Wunsch Message-Id: <199609050802.KAA00638@uriah.heep.sax.de> Subject: Re: void main To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Thu, 5 Sep 1996 10:02:23 +0200 (MET DST) Cc: Leonard@pacbell.net (Leonard Chung) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <1.5.4.32.19960905055112.00682a34@pacbell.net> from Leonard Chung at "Sep 4, 96 10:51:12 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] 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 As Leonard Chung wrote: > >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. Dunno what's the wording of the standard for this. Anyway, typical freestanding environments are things like a Unix kernel, or a microcontroller program written in C. There's no environment to the C program. In a hosted environment, you launch your C application from with an environment (a shell, a GUI environment etc.). I'm sure Bruce will explain it better. ;-) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)