mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
16 lines
328 B
C
16 lines
328 B
C
/**
|
|
* @file fatal.h
|
|
* @brief Fatal error (fatal:u) service IPC wrapper.
|
|
* @author plutoo
|
|
* @copyright libnx Authors
|
|
*/
|
|
#pragma once
|
|
#include "../types.h"
|
|
|
|
/**
|
|
* @brief Triggers a system fatal error.
|
|
* @param err[in] Result code to throw.
|
|
* @note This function does not return.
|
|
*/
|
|
void NORETURN fatalSimple(Result err);
|