mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 08:53:02 +00:00
[UCRT] Import Microsoft.Windows.SDK.CRTSource version 10.0.22621.3
Imported from https://www.nuget.org/packages/Microsoft.Windows.SDK.CRTSource/10.0.22621.3 License: MIT
This commit is contained in:
parent
f1b60c66f0
commit
04e0dc4a7a
568 changed files with 115483 additions and 0 deletions
39
sdk/lib/ucrt/misc/seterrm.cpp
Normal file
39
sdk/lib/ucrt/misc/seterrm.cpp
Normal file
|
@ -0,0 +1,39 @@
|
|||
/***
|
||||
*seterrm.c - Set mode for handling critical errors
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
*
|
||||
*Purpose:
|
||||
* Defines signal() and raise().
|
||||
*
|
||||
*******************************************************************************/
|
||||
|
||||
#include <corecrt_internal.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
/***
|
||||
*void _seterrormode(mode) - set the critical error mode
|
||||
*
|
||||
*Purpose:
|
||||
*
|
||||
*Entry:
|
||||
* int mode - error mode:
|
||||
*
|
||||
* 0 means system displays a prompt asking user how to
|
||||
* respond to the error. Choices differ depending on the
|
||||
* error but may include Abort, Retry, Ignore, and Fail.
|
||||
*
|
||||
* 1 means the call system call causing the error will fail
|
||||
* and return an error indicating the cause.
|
||||
*
|
||||
*Exit:
|
||||
* none
|
||||
*
|
||||
*Exceptions:
|
||||
*
|
||||
*******************************************************************************/
|
||||
|
||||
extern "C" void __cdecl _seterrormode(int const mode)
|
||||
{
|
||||
SetErrorMode(mode);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue