mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:12:57 +00:00
Samuel Serapión (samdwise51 AT gmail DOT com):
- Sync parts of msvcrt with Wine (more will follow) This makes us passing a lot more msvcrt Wine tests (like all heap tests) svn path=/trunk/; revision=33747
This commit is contained in:
parent
c6aa541df2
commit
1e95911991
21 changed files with 1445 additions and 851 deletions
|
@ -1,19 +1,5 @@
|
|||
#include <precomp.h>
|
||||
|
||||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
void _default_handler(int signal);
|
||||
|
||||
typedef struct _sig_element
|
||||
{
|
||||
int signal;
|
||||
char *signame;
|
||||
__p_sig_fn_t handler;
|
||||
}
|
||||
sig_element;
|
||||
|
||||
#include "include/internal/wine/msvcrt.h"
|
||||
|
||||
static sig_element signal_list[] =
|
||||
{
|
||||
|
@ -34,8 +20,6 @@ static sig_element signal_list[] =
|
|||
//void ( *signal( int sig, void (__cdecl *func) ( int sig [, int subcode ] )) ) ( int sig );
|
||||
|
||||
|
||||
|
||||
|
||||
__p_sig_fn_t signal(int sig, __p_sig_fn_t func)
|
||||
{
|
||||
__p_sig_fn_t temp;
|
||||
|
@ -139,3 +123,6 @@ void _default_handler(int sig)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue