assert.c\exit\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/exit/assert.c
blob: 49b0dc3ec434c68a92ad3c38f087aec74c45e4e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include <stdio.h>
#include <stdlib.h>
_Noreturn void __assert_fail(const char *expr, const char *file, int line, const char *func)
{
	fprintf(stderr, "Assertion failed: %s (%s: %s: %d)\n", expr, file, func, line);
	fflush(NULL);
	abort();
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月06日 22:58:49 +0000

AltStyle によって変換されたページ (->オリジナル) /