Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
abort.c
Go to the documentation of this file.
1
#include <
errno.h
>
2
#include <
stdlib.h
>
3
4
__attribute__
((weak, noreturn))
void
abort
(
void
)
5
{
6
_Exit
(
ENOTSUP
);
7
}
errno.h
_Exit
void _Exit(int) __attribute__((noreturn))
abort
void abort(void) __attribute__((noreturn))
__attribute__
__attribute__((weak, noreturn))
Definition:
abort.c:4
ENOTSUP
#define ENOTSUP
Definition:
errno.h:66
stdlib.h
src
crt
abort.c
Generated by
1.8.15