Subject: Re: exit() undefined in bootloader build
To: Jun-ichiro itojun Hagino <itojun@iijlab.net>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: tech-kern
Date: 06/01/2002 14:00:05
itojun@iijlab.net said:
> or, is it more proper? (exit() with no arg)
> anyways, arch/i386/stand uses exit() inconsistently.
It depends on the environment - a normal bootloader has
nothing to report status to, as opposed to the DOS loader
where the exit code makes sense.
After all, we also have a "void main(void)" in some bootloaders,
so I don't see a necessity to be dogmatic here.
best regards
Matthias