Subject: Re: exit() undefined in bootloader build
To: None <M.Drochner@fz-juelich.de>
From: None <itojun@iijlab.net>
List: tech-kern
Date: 06/01/2002 21:05:56
>> 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.
for i386 case, they all share the same sys/lib/libsa/stand.h. if
it is not the case for other arch, i have no problem,
itojun