Commit Graph

43 Commits

Author SHA1 Message Date
Alex Henrie 1afc433954 msvcrt: Don't include MSVC 8.0+ string functions in SOs for older DLLs.
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-01-02 15:52:22 +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
Nikolay Sivov 1b2554c2c3 msvcr120: Added vsscanf() and vswscanf().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-25 23:29:10 +02:00
Alex Henrie 5074bb9a4b msvcrt: Note that __stdio_common functions are for ucrtbase.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-07 14:23:38 +02:00
Huw Davies fc64e2bfa6 ucrtbase: Add __stdio_common_vfscanf().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-25 13:28:05 +09:00
Huw Davies f22769f81a ucrtbase: Add __stdio_common_vswscanf().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-25 13:28:00 +09:00
Daniel Lehman 48340bd1fe ucrtbase: Add __stdio_common_vfwscanf.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 00:09:37 +09:00
Nikolay Sivov 7e86ab3df6 msvcrt: Fix cwscanf* prototypes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-23 16:32:09 +01:00
Martin Storsjo 1fecaae973 ucrtbase: Handle the _s variant of vsscanf.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 19:19:37 +09:00
Martin Storsjo fcf9ec8080 ucrtbase: Add defines for the printf/scanf options constants.
Avoid using hardcoded magic numbers for these options.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:24 +09:00
Martin Storsjo 436eb3639c ucrtbase: Implement vsscanf.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:09 +09:00
Piotr Caban a9c6113c28 msvcrt: Improved parsing precision of doubles in scanf.
This code is based on doubles parsing in jscript lexer.
2012-11-01 15:43:21 +01:00
Piotr Caban d09ab74d9b msvcrt: Added _snwscanf implementation. 2011-04-05 17:38:29 +02:00
Piotr Caban 405e6eb309 msvcrt: Added _snscanf implementation. 2011-04-05 17:38:21 +02:00
Piotr Caban f36671c57f msvcrt: Added _cwscanf* implementation. 2010-04-22 18:11:11 +02:00
Piotr Caban 177d545592 msvcrt: Added _cscanf_s(_l) implementation. 2010-04-22 18:11:11 +02:00
Piotr Caban a51292e4dc msvcrt: Added _swscanf_s(_l) implementation. 2010-04-22 18:11:11 +02:00
Piotr Caban 8386e95afc msvcrt: Added _sscanf_s(_l) implementation. 2010-04-22 18:11:11 +02:00
Piotr Caban 98e34c7f82 msvcrt: Added _wscanf_s(_l) implementation. 2010-04-22 18:11:11 +02:00
Piotr Caban 3b99441770 msvcrt: Added _fwscanf_s(_l) implementation. 2010-04-22 18:11:11 +02:00
Piotr Caban 2c07fad607 msvcrt: Added _scanf_s(_l) implementation. 2010-04-22 18:11:11 +02:00
Piotr Caban b38fcabfa0 msvcrt: Added fscanf_s(_l) implementation. 2010-04-22 18:11:11 +02:00
Piotr Caban 17f486baa4 msvcrt: Added support for secure functions to scanf helper functions. 2010-04-22 18:09:40 +02:00
Piotr Caban 8a69a936dc msvcrt: Added _cscanf_l implementation. 2010-04-22 15:11:04 +02:00
Piotr Caban 2242f281ba msvcrt: Added _swscanf_l implementation. 2010-04-22 15:11:00 +02:00
Piotr Caban edfe9bdbae msvcrt: Added _sscanf_l implementation. 2010-04-22 15:10:57 +02:00
Piotr Caban ced42a0ed6 msvcrt: Added _wscanf_l implementation. 2010-04-22 15:10:53 +02:00
Piotr Caban 674df1ee1e msvcrt: Added _fwscanf_l implementation. 2010-04-22 15:10:49 +02:00
Piotr Caban 00f704539f msvcrt: Added _scanf_l implementation. 2010-04-22 15:10:44 +02:00
Piotr Caban 66042e0041 msvcrt: Added _fscanf_l implementation. 2010-04-22 15:10:39 +02:00
Piotr Caban 231fc11457 msvcrt: Add support for locales in scanf helper functions. 2010-04-22 15:10:27 +02:00
Alexandre Julliard f8de2ebb0b msvcrt: Convert all the scanf functions to use MS ABI varargs. 2009-01-03 11:38:25 +01:00
Michael Stefaniuc ec4936a6a3 msvcrt: Do not use wide character constants. 2007-06-25 11:43:58 +02:00
Andrew Talbot 9069577cd0 msvcrt: Exclude unused headers. 2007-05-15 12:19:12 +02:00
Alexandre Julliard 24beabfd4e msvcrt: Explicitly specify CDECL calling convention on exported functions. 2006-06-13 11:40:23 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02: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
Alexandre Julliard c042e13ef6 Fixed varargs handling in the scanf functions (spotted by Eric
Pouech).
2004-02-19 01:13:12 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard 5f31b32946 Use MSVCRT_wchar_t instead of WCHAR so that the implementation matches
the prototypes.
2002-12-19 04:21:30 +00:00
Alexandre Julliard 3f5ff2fba2 Avoid including other headers from the msvcrt headers, duplicate some
definitions instead like Windows does.
Always define wchar_t (suggested by Dimitrie O. Paun), and use wchar_t
everywhere instead of WCHAR to avoid depending on Windows headers.
2002-12-18 20:17:20 +00:00
György 'Nog' Jeney e022026c93 Implement [ format specifier. 2002-10-15 02:20:07 +00:00
Daniel Gudbjartsson 42c74d6454 Combined the implementation of all the scanf's in a single place.
Added implementations of fwscanf, swscanf, wscanf and sscanf.
Corrected the declaration of swscanf.
Added implementation of the l, h, L and w prefixes.
Added implementation of the c, C, s, S and n types.
2002-08-17 01:22:00 +00:00