Daniel Lehman
7c6a50cc46
include: Add some msvcrt declarations.
2024-02-16 23:32:06 +01:00
Daniel Lehman
8fb70648d1
include: Add [_w]getenv_s.
2023-08-23 17:33:47 +02:00
Alex Henrie
926433faa3
include: Add corecrt_malloc.h.
2022-12-08 18:12:51 +01:00
Alex Henrie
7c2af26a62
include: Include limits.h in stdlib.h.
...
Needed to compile Tera Term.
2022-11-14 13:17:31 +01:00
Alex Henrie
01777127cf
include: Add _splitpath_s.
...
Needed to compile Tera Term.
2022-11-03 18:33:09 +01:00
Alex Henrie
7d85693750
include: Add _putenv_s.
...
Needed to compile Tera Term.
2022-10-20 18:30:14 +02:00
Alex Henrie
5235526b16
include: Move strto[iu]max(_l) from stdlib.h to inttypes.h.
...
Needed to compile PuTTY.
2022-10-19 18:48:54 +02:00
Daniel Lehman
c695ec59b1
include: Add _tcsto[u]ll declarations.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
2022-06-20 10:37:56 +02:00
Alexandre Julliard
84bfdccf6d
include: Add prototypes for the byteswap functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-13 18:41:02 +02:00
Rémi Bernon
b18a48eb70
include: Include x86intrin.h in msvcrt/intrin.h.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-16 20:36:43 +01:00
Piotr Caban
200fe8ac42
msvcrt: Use _purecall_handler from public header.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-04 16:36:54 +01:00
Piotr Caban
495f24ebb8
msvcrt: Remove MSVCRT_ prefix from data.c functions.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-01 14:03:07 +01:00
Alexandre Julliard
579fc688af
include: Use proper dllimports for msvcrt functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-24 18:50:06 +01:00
Gijs Vermeulen
db1403c5de
msvcr120: Add [_]strtoimax[_l] and [_]strtoumax[_l].
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49738
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-14 19:42:40 +02:00
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