2017-12-27 04:27:52 +08:00
|
|
|
#include <machine/syscall.h>
|
|
|
|
#include "internal_syscall.h"
|
|
|
|
|
|
|
|
/* Exit a program without cleaning up files. */
|
|
|
|
void
|
|
|
|
_exit(int exit_status)
|
|
|
|
{
|
2020-02-11 04:19:58 +08:00
|
|
|
syscall_errno (SYS_exit, 1, exit_status, 0, 0, 0, 0, 0);
|
2017-12-27 04:27:52 +08:00
|
|
|
while (1);
|
|
|
|
}
|