Jacek Caban
4f40ffb9c5
stdlib.h: Provide strtold as an inline wrapper.
...
This allows using long double in the declaration, which fixes
-Wincompatible-library-redeclaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-21 10:31:23 +02:00
Jacek Caban
a326a00f2f
stdlib.h: Remove _strtold declaration.
...
It's not available in any DLL.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-21 10:31:20 +02:00
Jacek Caban
944ef25f1f
include: Fix DECLSPEC_NORETURN usage.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-15 22:53:48 +02:00
Jacek Caban
d45e36f5f8
include: Avoid _onexit_t redefinition.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48888
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-06 21:22:39 +02:00
Jacek Caban
f0b8ca648f
stdlib.h: Add _get_thread_local_invalid_parameter_handler and _set_thread_local_invalid_parameter_handler declarations.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-19 17:27:17 +01:00
Jacek Caban
118ef11293
stdlib.h: Make externs declarations compatible with ucrt.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-27 23:37:27 +01:00
Jacek Caban
1e5522ab78
include: Add corecrt_wstdlib.h header.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-24 18:50:19 +01:00
Jacek Caban
d840af4b87
include: Move NULL define to corecrt.h.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-16 21:23:13 +01:00
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