Commit graph

51 commits

Author SHA1 Message Date
Alex Henrie
67cae2dedc ucrtbase: Hook up _Exit.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-02 20:02:08 +02:00
Alex Henrie
ccbfb951c2 include: Add strtof and strtold.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-02 20:02:02 +02:00
Daniel Lehman
1863ec6414 include: Add wcstof.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-01 13:04:59 +02:00
Daniel Lehman
1ce7356498 include: Add _countof macro.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-01 13:04:55 +02:00
Piotr Caban
d7f6eac058 msvcp110: Fix _Getcvt implementation. 2015-04-22 23:28:42 +09:00
Piotr Caban
f3eb64ec73 msvcrt: Don't detect overflow in atoi implementation. 2013-06-04 21:01:13 +02:00
Piotr Caban
78553db096 msvcrt: Added _atodbl tests. 2012-12-17 20:31:26 +01:00
Daniel Lehman
5afde5f378 msvcrt: Add declarations to stdlib.h for _strtoui64 and _strtoi64. 2012-04-19 13:44:22 +02:00
Daniel Lehman
9a8d3cc5bd msvcrt: Add declarations to stdlib.h for _wcstoui64 and _wcstoi64. 2012-01-16 12:45:38 +01:00
Nikolay Sivov
03ca06e791 msvcrt: Partially implement _set_abort_behavior. 2011-01-20 12:54:50 +01:00
Nikolay Sivov
ad6bc94491 msvcrt: Add _atoflt and _atoflt_l implementations. 2011-01-19 12:22:27 +01:00
Andrew Nguyen
ed357e5ca6 msvcrt: Implement _ultoa_s. 2010-10-21 12:30:44 +02:00
Andrew Nguyen
bcfaf467b5 msvcrt: Implement _itoa_s. 2010-10-11 17:11:38 +02:00
Andrew Nguyen
67088eb34c msvcrt: Implement _set_doserrno. 2010-09-28 17:33:16 +02:00
Andrew Nguyen
ad68c0bd3c msvcrt: Implement _set_errno. 2010-09-28 17:33:16 +02:00
Andrew Nguyen
c3b127f566 msvcrt: Implement _get_doserrno. 2010-09-28 17:33:16 +02:00
Andrew Nguyen
79ab715272 msvcrt: Implement _get_errno. 2010-09-28 17:33:15 +02:00
Andrew Nguyen
58dd97efcf msvcrt: Implement _wmakepath_s. 2010-06-25 12:49:57 +02:00
Andrew Nguyen
9628a0d3e4 msvcrt: Implement _makepath_s. 2010-06-25 12:49:44 +02:00
Alexander Scott-Johns
5361263bdb include/msvcrt: Update a bit. 2010-06-17 14:07:19 +02:00
Alexander Scott-Johns
4e8e2f39c5 include/msvcrt: Define _TRUNCATE; use it in the tests. 2010-06-07 13:51:49 +02:00
Alexandre Julliard
4f3b7f8445 msvcrt: Implement _invalid_parameter and fix the handler definitions. 2010-04-14 18:00:46 +02:00
Piotr Caban
254eab3827 msvcr90: Added _get/set_invalid_parameter_handler implementation. 2010-03-25 16:46:56 +01:00
Alexandre Julliard
580e07e7ba include/msvcrt: Add explicit msvcrt_long types to replace long for 64-bit compatibility. 2009-05-23 11:57:39 +02:00
Alexandre Julliard
bb33b0a21d msvcrt: Add __cdecl to all function prototypes. 2008-12-17 15:00:28 +01:00
Alexandre Julliard
e2b3ee535f msvcrt: The __p_* functions are only exported on i386. 2008-12-15 16:20:08 +01:00
Alexandre Julliard
b19913ac70 msvcrt: Add a few more *_func functions to replace the __p_* ones. 2008-12-15 16:03:32 +01:00
Alexandre Julliard
33fa6c2e25 include: Add the msvcrt/crtdefs.h header and include it where needed. 2008-12-12 10:19:55 +01:00
Alexandre Julliard
74d63c020c include: Fix the definition of 64-bit types for Mingw64. 2008-12-09 17:42:13 +01:00
Francois Gouget
dd3e2be810 msvcrt: Add a prototype for _atoldbl() & co and declare _LDOUBLE & co in stdlib.h. 2007-08-30 17:02:48 +02:00
Dmitry Timoshkov
70015ab5b4 include/msvcrt: Make sure that __int64 is properly defined on a 64-bit platform. 2007-06-06 20:33:54 +02:00
Dmitry Timoshkov
2af96fe590 msvcrt: Pack the structures on a 8-byte boundary like in PSDK. 2007-02-20 12:24:04 +01:00
Alexandre Julliard
945292737b include/msvcrt: Fix all definitions of size_t for Win64. 2006-07-10 12:28:25 +02:00
Eric Pouech
4056d7ef8c Fixed some errors in function prototypes. 2004-12-13 21:19:01 +00:00
Dimitrie O. Paun
0377462460 Split the MSVCRT implementation headers from the public headers.
Fix some naming conventions aberrations.
Add tests to ensure consistency between the two sets of symbols.
2004-06-25 01:19:15 +00:00
Hans Leidekker
821f4775a3 - Prefix many more functions, types, structs, etc. with MSVCRT_.
- Correct prototypes for _memccpy()/_memicmp().
- "define before use" reordering in file.c.
- Use the new math.h/float.h.
2004-03-16 19:17:11 +00:00
Alexandre Julliard
0b19a6f7bc Better support for div and ldiv in Winelib apps. 2003-11-28 23:17:28 +00:00
Pierre d'Herbemont
d3ab533eb3 Fixed _wfullpath prototype. 2003-10-28 21:13:13 +00:00
Jon Griffiths
5f17550896 Don't redefine __WINE_USE_MSVCRT (msvc warning).
Don't return a void value in swab().
'long long' is not recognised by msvc, use __int64.
2003-07-18 22:57:15 +00:00
Madhura Sahasrabudhe
992d1b998a Changed the macros in the msvcrt headers to static inline functions. 2003-03-22 21:15:41 +00:00
Dimitrie O. Paun
3fd4087dde Define qsort and bsearch in stdlib.h. 2003-01-11 20:54:19 +00:00
Alexandre Julliard
b4a4c05aed Removed a few more #ifdef __WINE__. 2003-01-04 00:19:17 +00:00
Dimitrie O. Paun
36d0e5b73a Define NULL if it's not defined already. 2003-01-03 03:07:06 +00:00
Alexandre Julliard
3f5ff2fba2 Avoid including other headers from the msvcrt headers, duplicate some
definitions instead like Windows does.
Always define wchar_t (suggested by Dimitrie O. Paun), and use wchar_t
everywhere instead of WCHAR to avoid depending on Windows headers.
2002-12-18 20:17:20 +00:00
Alexandre Julliard
435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Francois Gouget
79027d16e7 Added constants for _set_error_mode(). 2002-11-30 01:52:30 +00:00
Peter Hunnisett
618a4e916b atexit doesn't take a _onexit_t parameter. 2002-02-22 21:20:39 +00:00
Francois Gouget
a45907c4c0 Added __WINE_USE_MSVCRT. 2001-10-22 18:59:23 +00:00
Francois Gouget
fceb19ff8e Don't use Windows types like LONGLONG in msvcrt headers. 2001-04-24 23:16:39 +00:00
Francois Gouget
b29120d2c4 Add msvcrt/malloc.h (for the MFC).
Add msvcrt/search.h.
Move duplicated definitions to the new headers.
Use malloc.h instead of stdlib.h when sensible.
2001-04-23 18:20:55 +00:00