1 /* SPDX-License-Identifier: LGPL-2.1 OR MIT */
3 * signal function definitions for NOLIBC
7 #ifndef _NOLIBC_SIGNAL_H
8 #define _NOLIBC_SIGNAL_H
15 /* This one is not marked static as it's needed by libgcc for divide by zero */
16 __attribute__((weak,unused,section(".text.nolibc_raise")))
19 return sys_kill(sys_getpid(), signal);
22 #endif /* _NOLIBC_SIGNAL_H */