12345678910111213141516171819202122 |
- /*
- * Copyright (c) 2006-2018, RT-Thread Development Team
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Change Logs:
- * Date Author Notes
- * 2021-02-13 Meco Man implement exit() and abort()
- */
- #include <rtthread.h>
- void exit (int status)
- {
- extern rt_inline void __exit__(int status);
- __exit__(return_code);
- }
- void abort(void)
- {
- extern rt_inline void __abort__(void);
- __abort__();
- }
|