|
htils 1
A small set of utilities for C programming.
|
Functions | |
| _Noreturn void | __htils_assert_fail (const cstr *expr_str, const cstr *executable, const cstr *file, u32 line, const cstr *func) |
| Terminates the program with an error message. | |
| _Noreturn void __htils_assert_fail | ( | const cstr * | expr_str, |
| const cstr * | executable, | ||
| const cstr * | file, | ||
| u32 | line, | ||
| const cstr * | func | ||
| ) |
Terminates the program with an error message.
Prints the error message to stderr, and then terminates the program using exit().
| expr_str | The expression as string. |
| executable | The executable name. |
| file | The file name. |
| line | The line number. |
| func | The function name. |