2023-11-08 15:09:09 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2006-2023, RT-Thread Development Team
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <rtthread.h>
|
|
|
|
#include <sys/types.h>
|
2023-12-30 21:52:52 +08:00
|
|
|
#include <posix/stdlib.h>
|
2023-11-08 15:09:09 +08:00
|
|
|
|
|
|
|
/* for exit() and abort() */
|
|
|
|
rt_noreturn void _exit (int status)
|
|
|
|
{
|
|
|
|
__rt_libc_exit(status);
|
|
|
|
while(1);
|
|
|
|
}
|