ucrtbase: Add quick_exit.

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Fabian Maurer 2018-07-09 18:04:03 +02:00 committed by Alexandre Julliard
parent a63c8cab27
commit 224f3312f8
3 changed files with 11 additions and 2 deletions

View File

@ -97,7 +97,7 @@
@ cdecl fesetround(long) ucrtbase.fesetround
@ stub fetestexcept
@ cdecl perror(str) ucrtbase.perror
@ stub quick_exit
@ cdecl quick_exit(long) ucrtbase.quick_exit
@ cdecl raise(long) ucrtbase.raise
@ cdecl set_terminate(ptr) ucrtbase.set_terminate
@ cdecl signal(long long) ucrtbase.signal

View File

@ -414,6 +414,15 @@ int CDECL MSVCRT__crt_at_quick_exit(void (__cdecl *func)(void))
return -1;
}
/*********************************************************************
* quick_exit (MSVCRT.@)
*/
void CDECL MSVCRT_quick_exit(int exitcode)
{
FIXME("(%d) semi-stub\n", exitcode);
MSVCRT__exit(exitcode);
}
/*********************************************************************
* _crt_atexit (UCRTBASE.@)
*/

View File

@ -2454,7 +2454,7 @@
@ cdecl putwchar(long) MSVCRT__fputwchar
@ cdecl qsort(ptr long long ptr) MSVCRT_qsort
@ cdecl qsort_s(ptr long long ptr ptr) MSVCRT_qsort_s
@ stub quick_exit
@ cdecl quick_exit(long) MSVCRT_quick_exit
@ cdecl raise(long) MSVCRT_raise
@ cdecl rand() MSVCRT_rand
@ cdecl rand_s(ptr) MSVCRT_rand_s