Commit Graph

61 Commits

Author SHA1 Message Date
Jacek Caban 80e2154856 include/msvcrt: Include corecrt.h instead of crtdefs.h.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-09 19:37:21 +02:00
Jacek Caban 351a87359d stdlib.h: Forward strtoll to _strtoi64.
Instead of depending on mingw implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-07 00:12:25 +02:00
Alistair Leslie-Hughes 0333278f7b include: Add some missing declarations.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-02 10:52:03 +02:00
Alexandre Julliard 52bc3abb1b include/msvcrt: Add noreturn attributes.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-23 23:50:44 +02:00
Alexandre Julliard e4d34098a6 msvcrt: Fix __p__fmode() prototype.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-14 18:24:46 +01:00
Daniel Lehman 77ad8a477e include/msvcrt: Include calling convention with function pointers.
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-08-21 23:21:52 +02:00
Alex Henrie b8c27cca37 include: Add lldiv and lldiv_t.
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-04 16:56:39 +02:00
Alex Henrie 8a9812b767 include: Add llabs.
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-04 00:15:50 +02:00
Alex Henrie 7ad8608ffb include: Add strtoll, strtoll_l, strtoull, and strtoull_l.
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-04 00:15:48 +02:00
Alex Henrie 0ab4f08954 include: Add atoll.
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-04 00:15:46 +02:00
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