Piotr Caban
536be09b84
msvcrt: Don't use wine/unicode.h header.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-21 15:17:51 +02:00
Piotr Caban
bfa1e3ef8f
msvcrt: Use internal sprintf implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-08 21:01:33 +02:00
Michael Stefaniuc
af4821ca81
msvcrt: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 21:01:09 +02:00
Alex Henrie
1c03dc45c3
msvcrt: Don't include MSVC 8.0+ error 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-05 18:51:25 +01:00
Piotr Caban
8ee96fec2b
msvcr71: Don't raise exception in _invalid_parameter.
...
Support for invalid parameter handler was added in msvcr80.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-18 12:35:13 +01:00
Piotr Caban
e76ea27ef6
msvcr100: Add _invalid_parameter_noinfo_noreturn implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-04 16:25:07 +02:00
Michael Stefaniuc
dbafbcccfc
msvcrt: Remove redundant NULL checks before free().
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 20:13:38 +09:00
Hugh McMaster
56eb4d3105
msvcrt: Implement _wperror.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 22:09:17 +09:00
Piotr Caban
c35d07fcd1
ucrtbase: Add _set_thread_local_invalid_parameter_handler implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-21 11:23:29 +09:00
Alex Henrie
a88c35d0dc
msvcrt: Stub out _(get|set)_thread_local_invalid_parameter_handler.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-09 18:26:22 +09:00
Alexandre Julliard
0c496f0280
msvcrt: Update comments for non-exported functions.
2014-04-21 14:32:40 +02:00
Piotr Caban
0cb5067698
msvcrt: Don't raise exception in _invalid_parameter.
2014-04-21 14:31:38 +02:00
Piotr Caban
beeea28a53
msvcr100: Move functions implementation to msvcrt.
2014-04-16 18:00:15 +02:00
Piotr Caban
e70bf5f8c6
msvcrt: Fix compilation errors on Mingw.
2014-04-16 18:00:01 +02:00
Alexandre Julliard
06989a0483
msvcrt: Make sure that errno is always set when calling the invalid parameter handler.
2012-07-26 11:05:32 +02:00
Alexandre Julliard
2a1ce301fa
msvcrt: Don't name a local variable 'errno'.
2012-01-06 21:48:56 +01:00
Andrew Talbot
5f16eb9c48
msvcrt: Remove a superfluous semicolon.
2011-10-08 19:47:23 +02:00
Piotr Caban
f9de4eef75
msvcrt: Fix mingw compilation issues.
2011-06-03 17:44:06 +02:00
Detlef Riekenberg
49a8bb0aa0
msvcrt: Use the _set_error_mode value to switch between a dialogbox and stderr for C runtime messages.
2011-01-31 14:30:27 +01:00
Eric Pouech
5437c72fe1
msvcrt: Implemented (_)wcserror_s.
2010-11-03 11:08:56 +01:00
Eric Pouech
71200a9818
msvcrt: Implemented (_)wcserror.
2010-11-03 11:08:56 +01: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
Alexandre Julliard
4f3b7f8445
msvcrt: Implement _invalid_parameter and fix the handler definitions.
2010-04-14 18:00:46 +02:00
Piotr Caban
abb746002b
msvcrt: Fix _get/_set_invalid_parameter_handler implementation.
2010-04-01 18:12:58 +02:00
Piotr Caban
254eab3827
msvcr90: Added _get/set_invalid_parameter_handler implementation.
2010-03-25 16:46:56 +01:00
Alexandre Julliard
b5d86403a4
msvcrt: Add an errno mapping for ERROR_SHARING_VIOLATION.
2009-07-14 12:18:15 +02:00
Alexandre Julliard
82f175e9b5
msvcrt: Replace long by MSVCRT_long.
2009-05-23 11:57:39 +02:00
Andrew Talbot
cb08534a3d
msvcrt: Remove a superfluous semicolon.
2008-12-24 19:59:31 +01:00
Tijl Coosemans
6bbd3cacb8
msvcrt: Resolve symbols clashes with FreeBSD libc.
2007-09-19 15:01:33 +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
Alexandre Julliard
28486da991
msvcrt: Make error strings static.
2006-01-24 14:00:46 +01:00
Alexandre Julliard
2dacd3c54e
msvcrt: Properly implemented strerror and perror (based on a patch by
...
Uwe Bonnes).
2006-01-23 19:58:10 +01:00
Alexandre Julliard
401ead5c8f
msvcrt: Added _sys_errlist (based on a patch by Uwe Bonnes).
2006-01-23 19:30:21 +01: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
Hans Leidekker
821f4775a3
- Prefix many more functions, types, structs, etc. with MSVCRT_.
...
- Correct prototypes for _memccpy()/_memicmp().
- "define before use" reordering in file.c.
- Use the new math.h/float.h.
2004-03-16 19:17:11 +00:00
Alexandre Julliard
dec198afe0
Implemented the remaining 64-bit file functions, and added a few other
...
functions and exported variables.
Removed the almost empty lconv.c file.
2004-01-13 05:45:05 +00:00
André Johansen
70d1136ca7
Added a dummy implementation of the _set_error_mode() function.
2003-07-28 19:04:47 +00:00
Martin Wilck
94638aa276
MSVCRT needs a public errno.h file.
2002-09-17 18:32:53 +00:00
Alexandre Julliard
44b4235af2
Fixed per-thread data handling.
...
Made terminate and unexpected function pointer per-thread.
Added set_se_translator.
2002-07-19 03:24:50 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard
bd1689ec0a
Don't include debugtools.h in the header file, moved it to the C files
...
that need it (and used the new wine/debug.h while we are at it).
2002-01-22 00:57:16 +00:00
Patrik Stridvall
33929be46f
- Made sure that the files that contains the declarations
...
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-18 21:04:23 +00:00
Francois Gouget
e7f75c5dfb
Include the msvcrt headers, remove duplicate definitions.
...
Fixed the signature of a few functions.
Don't use wcs* functions, use *W (from unicode.h) instead.
2001-04-10 23:25:25 +00:00
Francois Gouget
203a8f8290
Adjust the 'MSVCRT_' prefix to match the msvcrt headers
...
Prefix internal methods with 'msvcrt_' instead of 'MSVCRT_', '__MSVCRT_', etc.
Remove '_cdecl', it's unnecessary
2001-04-10 21:16:07 +00:00
Jon Griffiths
34c786b2db
- New msvcrt unicode functions, winapi_check/-Wall/-W clean.
...
- Forward to ntdll where possible.
- Fix some .spec entries with incorrect parameters.
2001-01-22 02:21:54 +00:00