1 /* 2 * Copyright (c) 2019 Linaro Limited 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <stdlib.h> 8 #include <zephyr/kernel.h> 9 _exit(int status)10 FUNC_NORETURN void _exit(int status) 11 { 12 printk("exit\n"); 13 while (1) { 14 Z_SPIN_DELAY(100); 15 } 16 } 17