assert.c - ledit - Text editor (WIP)
HTML git clone git://lumidify.org/ledit.git (fast, but not encrypted)
HTML git clone https://lumidify.org/ledit.git (encrypted, but very slow)
HTML git clone git://4kcetb7mo7hj6grozzybxtotsub5bempzo4lirzc3437amof2c2impyd.onion/ledit.git (over tor)
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
assert.c (370B)
---
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include "cleanup.h"
4
5 void
6 ledit_assert_impl(const char *file, int line, const char *func, const char *failedexpr)
7 {
8 (void)fprintf(stderr,
9 "assertion \"%s\" failed: file \"%s\", line %d, function \"%s\"\n",
10 failedexpr, file, line, func);
11 ledit_emergencydump(file, line, func, failedexpr);
12 abort();
13 /* NOTREACHED */
14 }