- Stubplement _controlfp_s, rand_s
- Implement _invalid_parameter, _get_invalid_parameter_handler, _set_invalid_parameter_handler
- Implement memmove_s, strncpy_s
- sync heap.c with wine
Patch by Samuel Serapion

svn path=/trunk/; revision=47822
This commit is contained in:
Timo Kreuzer 2010-06-21 19:57:36 +00:00
parent dc9cecc4cd
commit cfb8a35516
6 changed files with 400 additions and 69 deletions

View file

@ -1,6 +1,6 @@
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <precomp.h>
//#include <Ntsecapi.h>
#include <internal/tls.h>
/*
@ -25,3 +25,18 @@ srand(unsigned int seed)
ThreadData->tnext = (ULONGLONG)seed;
}
/*********************************************************************
* rand_s (MSVCRT.@)
*/
int CDECL rand_s(unsigned int *pval)
{
#if 0
if (!pval || !RtlGenRandom(pval, sizeof(*pval)))
{
*_errno() = EINVAL;
return EINVAL;
}
#endif
return 0;
}