#include <kern/panic_call.h>

kern/panic_call.h Kernel.framework

includes: sys/cdefs.h, Kernel/stdint.h
1 function

functionpanic

__abortlike __printflike(1, 2) extern void panic(const char *string, ...)
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu libsyscall/mach/panic.c
Reports a fatal user-space error. Writes "panic: <s>" to the standard error stream, requests host_reboot(RB_DEBUGGER) on the host port previously registered with panic_init (effective only if that is the privileged host port), and then calls abort(); does not return. Despite the printf-like prototype, the current implementation formats only the format string itself and ignores the variadic arguments.