Behavior is similar to newlib version: print "exit" message and go into infinite loop. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
16 lines
190 B
C
16 lines
190 B
C
/*
|
|
* Copyright (c) 2019 Linaro Limited
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
#include <zephyr.h>
|
|
|
|
void _exit(int status)
|
|
{
|
|
printk("exit\n");
|
|
while (1) {
|
|
}
|
|
}
|