[U-Boot] [PATCH v3 13/21] sandbox: Add OS dependent layer

Simon Glass sjg at chromium.org
Tue Oct 4 01:49:39 CEST 2011


On Mon, Oct 3, 2011 at 4:44 PM, Simon Glass <sjg at chromium.org> wrote:

> Hi Mike,
>
> On Mon, Oct 3, 2011 at 12:27 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> > On Monday, September 26, 2011 20:10:47 Simon Glass wrote:
> >> --- /dev/null
> >> +++ b/include/os.h
> >> +/**
> >> + * Access to the OS exit() system call
> >> + *
> >> + * This exits with an EXIT_SUCCESS error code
> >> + */
> >> +void os_exit(void);
> >
> > any reason for not allowing people to pass the actual error code ?  would
> be
> > handy i think if you could exit with non-zero codes ...
> > -mike
> >
>
> Only just that I was trying to avoid adding code I don't use. But fair
> enough, I will change it.
>

(also I didn't have access to EXIT_SUCCESS - but we can just use 0).


>
> Regards,
> Simon
>


More information about the U-Boot mailing list