diff options
Diffstat (limited to 'stdlib/stdlib.c')
| -rw-r--r-- | stdlib/stdlib.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stdlib/stdlib.c b/stdlib/stdlib.c index a2c08ff0..d48255b7 100644 --- a/stdlib/stdlib.c +++ b/stdlib/stdlib.c @@ -531,6 +531,11 @@ public _Noreturn void fail(const char *fmt, ...) _exit(1); } +public _Noreturn void fail_text(Text_t message) +{ + fail("%k", &message); +} + __attribute__((format(printf, 4, 5))) public _Noreturn void fail_source(const char *filename, int64_t start, int64_t end, const char *fmt, ...) { |
