picofuse

Functions
panicf.h File Reference

Defines the sys_panicf function for formatted panic messages. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void sys_panicf (const char *format,...)
 Prints a formatted panic message and halts the system. More...
 

Detailed Description

Defines the sys_panicf function for formatted panic messages.

This file provides the declaration of the sys_panicf function, which can be used to print formatted panic messages and halt the system.

Definition in file panicf.h.

Function Documentation

◆ sys_panicf()

void sys_panicf ( const char *  format,
  ... 
)

Prints a formatted panic message and halts the system.

Parameters
formatA printf-style format string describing the panic.
...Additional arguments referenced by the format string.

This function emits a formatted fatal error message using the platform-specific panic path and does not return to the caller.