1
0
mirror of https://github.com/switchbrew/libnx.git synced 2025-07-21 18:02:15 +02:00
libnx/nx/include/switch/services/fatal.h

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);