[coyotos-dev] Behavior of exit()?
Jonathan S. Shapiro
shap at eros-os.com
Fri May 16 10:51:28 CDT 2008
On Fri, 2008-05-16 at 16:42 +0100, Sam Mason wrote:
> On Thu, May 15, 2008 at 10:03:49AM -0400, Jonathan S. Shapiro wrote:
> > There are several issues concerning exit() that need to be resolved in
> > Coyotos:
> > 1. How should exit() be handled? Is it an exception? If it is a
> > "process exit status", where is this exit status delivered?
> > Who gets the notification?
> > 2. Do we want to have a coyotos variant of exit that exits with
> > a result code?
> Shouldn't this sort of functionality live inside the POSIX emulation
When we are compiling a program that will run within a POSIX emulation
layer, it's pretty clear what needs to happen.
What I mean to be asking about here is how exit() status should be
handled when it is invoked by a program that is compiled to run in the
native Coyotos environment.
More information about the coyotos-dev