|
wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
|
Process termination, separate from common/platform/debug (which owns log output only). More...
#include "common/platform/sys/syscall.h"Go to the source code of this file.
Functions | |
| void | wired_die (const char *msg) |
| Log msg then terminate the process with exit code 1. | |
Process termination, separate from common/platform/debug (which owns log output only).
wired_die composes "log a diagnostic" with "terminate the process" into one action; that composite responsibility does not belong in debug's MECE slice, so it gets its own domain here.
| void wired_die | ( | const char * | msg | ) |
Log msg then terminate the process with exit code 1.
Never returns.
| msg | NUL-terminated diagnostic to log before exiting |