zephyr/lib/libc/picolibc/exit.c
Keith Packard c759b8ac3d libc/picolibc: Split hooks into separate files
This splits the picolibc helper functions into separate files instead of
smashing them all together.

Signed-off-by: Keith Packard <keithp@keithp.com>
2024-11-16 13:50:16 -05:00

16 lines
225 B
C

/*
* Copyright © 2021, Keith Packard <keithp@keithp.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "picolibc-hooks.h"
__weak void _exit(int status)
{
printf("exit\n");
while (1) {
Z_SPIN_DELAY(100);
}
}