Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 1996 10:49:25 +0200 (MESZ)
From:      "Hr.Ladavac" <lada@ws2301.gud.siemens.co.at>
To:        Leonard@pacbell.net (Leonard Chung)
Cc:        j@uriah.heep.sax.de, hackers@freebsd.org
Subject:   Re: void main
Message-ID:  <199609050849.AA112943365@ws2301.gud.siemens.co.at>
In-Reply-To: <1.5.4.32.19960905055112.00682a34@pacbell.net> from "Leonard Chung" at Sep 4, 96 10:51:12 pm

next in thread | previous in thread | raw e-mail | index | archive | help
E-mail message from Leonard Chung contained:
> >> Um, so what exactly is wrong with void main, other than that you don't
> >> happen to like it?
> >
> >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 definite.

As I understand it, the freestanding environment is no environment at all.
Which means, no standard C library, no calling environment, process start
via magic, nowhere to return, such things.  Shortly, embedded applications.
(and a UNIX kernel is an example thereof)

Hosted environment is completely opposite.

/Marino
> 
> Leonard
> -- 
> Leonard Chung <Leonard@eff.org>
> Support the Blue Ribbon Campaign for free speech online        ()
> http://www.eff.org/blueribbon.html                             /\
> "Those who will not reason perish in the act.
> Those who will not act, perish for that reason." - W. H. Auden
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609050849.AA112943365>