source:
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/exit/assert.c
Last change on this file was 337, checked in by , 6 years ago | |
---|---|
|
|
File size: 243 bytes |
Line | |
---|---|
1 | #include <stdio.h> |
2 | #include <stdlib.h> |
3 | |
4 | _Noreturn void __assert_fail(const char *expr, const char *file, int line, const char *func) |
5 | { |
6 | fprintf(stderr, "Assertion failed: %s (%s: %s: %d)\n", expr, file, func, line); |
7 | fflush(NULL); |
8 | abort(); |
9 | } |
Note:
See TracBrowser
for help on using the repository browser.