From: Mike Frysinger Date: Mon, 3 Oct 2011 15:27:04 -0400 Subject: [U-Boot] [PATCH v3 13/21] sandbox: Add OS dependent layer In-Reply-To: <1317082255-24247-14-git-send-email-sjg@chromium.org> References: <1317082255-24247-1-git-send-email-sjg@chromium.org> <1317082255-24247-14-git-send-email-sjg@chromium.org> Message-ID: <201110031527.05351.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20111003/cb0ee921/attachment.pgp