81 Commits

Author SHA1 Message Date
Jacek Caban
6017d33339 include: Move __acrt_iob_func declaration to corecrt_wstdio.h.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-20 16:17:12 +01:00
Jacek Caban
c60b21926e stdio.h: Add ucrt version of vsnprintf inline wrapper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-18 20:30:24 +01:00
Jacek Caban
0eb79209d1 stdio.h: Add snprintf inline wrapper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-18 20:30:10 +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
84dbedc922 stdio.h: Provide sprintf and _snprintf as inline wrappers.
It's enough for Wine debug functions to use _vsnprintf from ucrtbase
importlib instead of ntdll for modules that link to ucrtbase.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-16 20:55:18 +01:00
Jacek Caban
ba07e25ccf corecrt_wstdio.h: Add new file and use it instead of duplicating declarations in stdio.h and wchar.h.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-13 16:44:24 +01:00
Erich E. Hoover
6d70b1a66e webservices: Use sscanf to convert strings to doubles.
Signed-off-by: Erich E. Hoover <erich.e.hoover@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-07 22:26:08 +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
14e7e331ae stdio.h: Use __acrt_iob_func to access standard stream files.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-07 00:12:25 +02:00
Alexandre Julliard
44be6a8294 include/msvcrt: Add snprintf() compatibility macro.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 10:44:09 +02:00
Alexandre Julliard
9b63daca51 include: Default to the standards-compliant version of swprintf().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 16:46:41 +02: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
Iván Matellanes
bcbd83d154 msvcrt: Added _fread_nolock_s implementation. 2014-11-10 19:25:15 +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
Piotr Caban
a5f525276f msvcr100: Added _vscwprintf_p implementation. 2013-04-30 18:44:46 +02:00
Piotr Caban
9c4be83a78 msvcrt: Added _set_output_format implementation. 2013-03-27 12:13:20 +01:00
Piotr Caban
77306693d4 msvcr100: Added _sprintf_p implementation. 2012-12-12 12:00:03 +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
Piotr Caban
af6fd252ef msvcr90: Fix _vswprintf_p implementation. 2011-09-20 16:21:40 +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
Nikolay Sivov
0512829a27 msvcrt: Add _get_output_format() and return default value. 2011-03-09 12:30:30 +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
a3927b5e09 msvcrt: Implement _ftelli64. 2010-11-03 14:45:17 +01:00
Alexander Scott-Johns
5361263bdb include/msvcrt: Update a bit. 2010-06-17 14:07:19 +02:00
Alexandre Julliard
7f69436ea8 include: Specify explicit alignment for __int64 types. 2009-11-21 14:31:45 +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
Hans Leidekker
0803575fd3 msvcrt: Implement _vscprintf and _vscwprintf. 2009-03-26 16:12:15 +01:00
Alexandre Julliard
3ad7f77298 include/msvcrt: Replace va_list by __ms_va_list for x86_64. 2009-01-07 11:10:26 +01:00