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
Daniel Lehman
fbfcb57c17
include: Add some math function declarations.
...
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-02-13 20:23:26 +01:00
Alexandre Julliard
5c50ec0c74
include: Don't use floating point for WINAPI functions when building for soft-float on ARM.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-08 16:45:55 +01:00
Alexandre Julliard
644f497e87
include: Use the hard-float calling convention for Windows APIs on ARM
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:24:26 +01:00
Alexandre Julliard
7726157e19
msvcrt: Use WINAPIV calling convention for variadic functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:20:02 +01:00
Alistair Leslie-Hughes
fae0570a88
msvcrt: Implement clearerr_s.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-26 11:19:36 +02:00
Martin Storsjo
3d3d080688
msvcrt: Implement setjmp/longjmp on aarch64.
...
Also include the rest of except_*.c (based on except_arm.c) as stubs.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-08 16:23:14 +02:00
Daniel Lehman
1fdebb77ec
include: Remove references to SPARC.
...
SPARC support removed in 2013.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-04 09:13:12 +02:00
Alistair Leslie-Hughes
b0bc08b345
include: Add LLONG_MIN, LLONG_MAX, ULLONG_MAX defines.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-06 16:30:40 +01:00
Stefan Silviu
4d37b87219
msvcrt: Implement nearbyint and nearbyintf.
...
Signed-off-by: Stefan Silviu <sylviu44@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-22 16:30:40 +01:00
Piotr Caban
514ff74e9b
include: Add msvcrt/fpieee.h header.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-24 22:26:10 +09:00
Iván Matellanes
4f71f42910
include/msvcrt: Ensure integer limits are given the correct type.
...
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 12:07:14 +09:00
Alexandre Julliard
206e8b147b
include: Update stdcall and cdecl definitions in crtdefs.h.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:22 +09:00
Grazvydas Ignotas
6c63e9f5d2
include: Expose some more implemented math functions.
...
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 01:04:30 +09:00
Grazvydas Ignotas
cc902bce5b
include: Use fabsf implementation when available.
...
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 01:04:30 +09:00
Grazvydas Ignotas
b3194e04e0
include: Use float math functions on ARM.
...
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 01:04:30 +09:00
Piotr Caban
1e9402124d
msvcp: Add _Dtest implementation.
2015-09-14 16:47:52 +09:00
Piotr Caban
d7f6eac058
msvcp110: Fix _Getcvt implementation.
2015-04-22 23:28:42 +09:00
Orion Poplawski
8bf1732962
msvcrt: Bump MSVCRT_MB_LEN_MAX to 5 and use it in MSVCRT__wctomb_l for default buffer lengthSet MB_LEN_MAX to 5 to match MSVCRT_MB_LEN_MAX.
2015-02-03 14:38:40 +09:00
Martin Storsjo
589f58d806
msvcr120: Implement the _vacopy function.
2014-12-08 17:08:51 +01:00
Iván Matellanes
bcbd83d154
msvcrt: Added _fread_nolock_s implementation.
2014-11-10 19:25:15 +09:00
Iván Matellanes
e4f9f53719
msvcrt: Add missing declarations in wchar.h.
2014-11-10 19:24:14 +09:00
Iván Matellanes
0ad3537d68
msvcrt: Added _putwc_nolock implementation.
2014-11-06 13:41:27 +09:00
Iván Matellanes
755a54b2a7
msvcrt: Added _putc_nolock implementation.
2014-11-06 13:41:23 +09:00
Iván Matellanes
fb4248315f
msvcrt: Added _getwc_nolock implementation.
2014-11-06 13:41:19 +09:00
Iván Matellanes
caedfc8954
msvcrt: Added _getc_nolock implementation.
2014-11-06 13:41:13 +09:00
Iván Matellanes
4f807d9ae9
msvcrt: Added _ungetwc_nolock implementation.
2014-11-05 13:15:44 +09:00
Iván Matellanes
6f24dd9677
msvcrt: Added _ungetc_nolock implementation.
2014-11-05 13:15:20 +09:00
Iván Matellanes
b536ff62ef
msvcrt: Added _fputwc_nolock implementation.
2014-11-05 13:14:35 +09:00
Iván Matellanes
975a95a25b
msvcrt: Added _fputc_nolock implementation.
2014-11-05 13:14:03 +09:00
Iván Matellanes
156684ba91
msvcrt: Added _fgetwc_nolock implementation.
2014-10-31 15:35:36 +09:00
Iván Matellanes
878b4a9280
msvcrt: Added _fgetc_nolock implementation.
2014-10-31 15:35:24 +09:00
Iván Matellanes
4bb80afedc
msvcrt: Added _fflush_nolock implementation.
...
Thanks to Piotr Caban for the test.
2014-10-27 19:03:57 +09:00
Iván Matellanes
c53e0384a5
msvcrt: Added _fseek_nolock implementation.
2014-10-16 13:02:24 +09:00
Iván Matellanes
5077d8c137
msvcrt: Added _fseeki64_nolock implementation.
2014-10-16 13:02:16 +09:00
Iván Matellanes
50574ccffa
msvcrt: Added _ftell_nolock implementation.
2014-10-16 13:02:08 +09:00
Iván Matellanes
7cf0c877b3
msvcrt: Added _ftelli64_nolock implementation.
2014-10-16 13:01:59 +09:00
Iván Matellanes
25d7a1bbbf
msvcrt: Added _fwrite_nolock() implementation.
2014-10-13 18:09:06 +09:00
Iván Matellanes
206ea48f20
msvcrt: Added _fread_nolock() implementation.
2014-10-13 18:08:54 +09:00
Iván Matellanes
9fda14a9d6
msvcrt: Added _fclose_nolock() implementation.
2014-10-08 14:47:46 +02:00
Andrey Zhezherun
3bb2c11757
msvcrt: Implemented _chsize_s.
2013-11-05 20:38:20 +01:00
Alexandre Julliard
a405745770
include: Add inline wrappers for some underscore-prefixed math functions.
2013-10-21 20:23:52 +02:00
Piotr Caban
7d41f9b3e9
msvcrt: Add _mktemp_s implementation.
2013-07-24 14:35:11 -05:00
Piotr Caban
779c1f8049
msvcrt: Don't call invalid parameter handler when string to be tokenized and context are not set in mbstok.
2013-06-21 16:23:35 +02:00
Piotr Caban
f3eb64ec73
msvcrt: Don't detect overflow in atoi implementation.
2013-06-04 21:01:13 +02:00
Piotr Caban
a5f525276f
msvcr100: Added _vscwprintf_p implementation.
2013-04-30 18:44:46 +02:00
Jactry Zeng
a35db4e7e3
include: Added missing declarations to msvcrt.
2013-04-19 16:16:15 +02:00
Alexandre Julliard
d95857d669
msvcrt: Constify the arguments of execv functions.
2013-04-09 13:45:57 +02:00
Jactry Zeng
8c53b6fde4
msvcrt: Add missing declarations for _wcsncoll, _wcsncoll_l, _wcsicoll_l, _wcsnicoll_l and wcscoll_l.
2013-04-01 14:42:25 +02:00
Piotr Caban
9c4be83a78
msvcrt: Added _set_output_format implementation.
2013-03-27 12:13:20 +01:00
Piotr Caban
14a81773c7
msvcrt: Added __pxcptinfoptrs implementation.
2013-03-05 12:44:30 +01:00
André Hentschel
874d077ca6
msvcrt: Add a new file for the ARM exception handling.
2013-02-27 19:23:45 +01:00
André Hentschel
5c8da80801
include: Add remaining checks for ARM64.
2013-01-28 15:38:03 +01:00
Piotr Caban
55aeaf3c76
msvcp90: Added std::log(complex) and std::exp(complex) implementation.
2013-01-25 11:18:28 +01:00
Piotr Caban
617bf861ef
msvcrt: Added fopen_s test with ccs option.
2013-01-10 12:27:42 +01:00
Piotr Caban
78553db096
msvcrt: Added _atodbl tests.
2012-12-17 20:31:26 +01:00
Piotr Caban
77306693d4
msvcr100: Added _sprintf_p implementation.
2012-12-12 12:00:03 +01:00
Piotr Caban
101abcd8b1
msvcr100: Added fread_s implementation.
2012-12-12 11:59:38 +01:00
Piotr Caban
a71acb3076
msvcp90: Added wctrans and towctrans implementation.
2012-11-16 11:41:55 +01:00
Daniel Lehman
7e414ee71a
msvcrt: Add declaration for _sc[w]printf to header.
2012-10-08 12:55:09 +02:00
Piotr Caban
27f9052440
msvcp90: Added num_put<char>::put(double) implementation.
2012-06-22 14:08:01 +02: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
Daniel Lehman
e0f1bac434
msvcrt: Add struct and prototypes for existing _findfirst64 and _findnext64.
2012-01-09 12:52:16 +01:00
Alexandre Julliard
446a6b3556
msvcrt: Use the correct type for findnext64.
2012-01-06 21:57:38 +01:00
Piotr Caban
f4518b9a54
include: Update msvcrt/locale.h.
2011-12-06 15:51:00 +01:00
Austin English
d67275fed8
include: Define _WIN64 on sparc/powerpc64.
2011-11-08 09:50:06 +01:00
Piotr Caban
af6fd252ef
msvcr90: Fix _vswprintf_p implementation.
2011-09-20 16:21:40 +02:00
Piotr Caban
27ff2ae967
msvcrt: Improved locale initialization.
2011-05-26 13:38:22 +02:00
Alexandre Julliard
277120bbd5
msvcp: Implement the Ctraits math functions.
2011-05-04 17:26:47 +02:00
Piotr Caban
6ecabf7cae
msvcrt: Added _set_printf_count_output and _get_printf_count_output implementation.
2011-04-28 11:08:06 +02:00
Piotr Caban
00182ca6d9
msvcrt: Added sprintf_p_l implementation.
2011-04-27 13:18:59 +02:00
Nikolay Sivov
0512829a27
msvcrt: Add _get_output_format() and return default value.
2011-03-09 12:30:30 +01:00
Alexandre Julliard
9b76c16e7e
msvcrt: longjmp doesn't have a return value.
2011-02-01 18:14:09 +01:00
Detlef Riekenberg
507ec2a415
include: Add missing _stat64i32 / _stat32i64.
2011-01-26 15:00:14 +01:00
Detlef Riekenberg
6e610f1e1a
msvcr90: Implement _stat32, _fstat32, _wstat32.
2011-01-25 18:10:36 +01:00
Nikolay Sivov
03ca06e791
msvcrt: Partially implement _set_abort_behavior.
2011-01-20 12:54:50 +01:00
Alexandre Julliard
6dcf94b21c
include: Add an assert.h msvcrt header.
2011-01-19 19:49:08 +01:00
Nikolay Sivov
ad6bc94491
msvcrt: Add _atoflt and _atoflt_l implementations.
2011-01-19 12:22:27 +01:00
Mike Gibson
23906816d8
msvcrt: Implement wcsnicoll.
2010-12-05 16:45:43 +01:00
Andrew Nguyen
92705a48dc
msvcrt: Add some definitions and prototypes to float.h.
2010-11-29 19:43:34 +01:00
Alexandre Julliard
1ae23af85b
include/msvcrt: Define more CPU control word flags.
2010-11-26 14:58:39 +01:00
Eryk Wieliczko
91bc6c5201
msvcrt: Implement fprintf_s and fwprintf_s.
2010-11-25 11:55:31 +01:00
Eryk Wieliczko
133a38fcfb
msvcrt: Implement printf_s and wprintf_s.
2010-11-25 11:55:20 +01:00
Eryk Wieliczko
6296d95b9e
msvcrt: Implement vprintf_s and vwprintf_s.
2010-11-25 11:55:05 +01:00
Eryk Wieliczko
8bf437d827
msvcrt: Implement vfprintf_s and vfwprintf_s.
2010-11-25 11:53:07 +01:00
Eryk Wieliczko
37cf8dc57d
msvcrt: Implement strncat_s.
2010-11-15 17:21:16 +01:00
Eryk Wieliczko
a3927b5e09
msvcrt: Implement _ftelli64.
2010-11-03 14:45:17 +01:00
Andrew Nguyen
ed357e5ca6
msvcrt: Implement _ultoa_s.
2010-10-21 12:30:44 +02:00
Andrew Nguyen
a622af49a7
msvcrt: Implement _mbsnbcat_s.
2010-10-21 12:30:35 +02:00
Damjan Jovanovic
c7536ef868
msvcrt: Define STRUNCATE.
2010-10-19 10:15:35 +02:00
Andrew Nguyen
41ab825126
msvcrt: Implement _strlwr_s.
2010-10-11 17:11:38 +02:00
Andrew Nguyen
bcfaf467b5
msvcrt: Implement _itoa_s.
2010-10-11 17:11:38 +02:00
Andrew Nguyen
6086610314
msvcrt: Implement _localtime32_s.
2010-10-11 17:11:37 +02:00
Andrew Nguyen
e245cb52c6
msvcrt: Implement _localtime64_s.
2010-10-11 17:11:37 +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
b7a74d24f5
msvcrt: Implement strerror_s.
2010-09-28 17:33:15 +02:00