Rémi Bernon
a602bdd326
ntdll: Use the unrolled memset from msvcrt.
...
Although less frequently used, heap allocations are zeroed out with
ntdll memset and they don't benefit from the msvcrt memset optimisation.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 21:16:50 +02:00
Alexandre Julliard
747b97539b
ntdll: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-22 11:12:17 +02:00
Piotr Caban
7d94c4f0e4
ntdll: Fix memchr implementation.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50228
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-04 17:51:07 +01:00
Alexandre Julliard
cfc9da22f5
ntdll: Use the standard C library names for the string functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-30 12:25:08 +02:00
Alexandre Julliard
8a169390c9
ntdll: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-30 12:25:08 +02:00
Alexandre Julliard
067648cd2b
ntdll: Reimplement the string functions to avoid depending on libc.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-29 19:51:47 +02:00
Alexandre Julliard
bc8745851e
ntdll: Reimplement the ctype functions to avoid depending on libc.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-29 19:51:47 +02:00
Erich E. Hoover
94675cd8e3
ntdll: Drop support for floating point numbers in sscanf.
...
Takes care of one more use of "long double".
Signed-off-by: Erich E. Hoover <erich.e.hoover@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-23 10:51:08 +01:00
Piotr Caban
09e6aa4b88
ntdll: Use RtlUpperChar in _strupr implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:01:07 +01:00
Piotr Caban
9b52a967b7
ntdll: Fix _strnicmp implementation to not depend on locale.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 13:50:11 +01:00
Piotr Caban
9851785783
ntdll: Use NTDLL_tolower in _strlwr.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 13:50:09 +01:00
Piotr Caban
f9ee9e63a5
ntdll: Use NTDLL_tolower in _memicmp.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 13:50:07 +01:00
Piotr Caban
748628e23e
ntdll: Use ANSI code page in toupper.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 13:50:05 +01:00
Piotr Caban
4ed7924390
ntdll: Fix tolower implementation to not depend on locale.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 13:49:56 +01:00
Alexandre Julliard
7bcb214158
ntdll: Export strnlen.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-18 19:19:28 +01:00
Alexandre Julliard
62a1410a07
ntdll: Fix source/destination confusion in vsscanf.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-05 16:09:30 +01:00
Alexandre Julliard
a5b67f3fdd
ntdll: Use WINAPIV calling convention for variadic functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:16:54 +01:00
Charles Davis
476d97b0ee
ntdll: Use an __ms_va_list in sscanf (Clang).
...
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
2015-10-01 23:18:43 +09:00
Frédéric Delanoy
7e63200672
ntdll: Use BOOL type where appropriate.
2013-11-01 10:52:42 +01:00
Alexandre Julliard
e3f9f7b388
ntdll: Copy some missing string functions from msvcrt.
2013-03-14 13:53:46 +01:00
Alexandre Julliard
59c30130a0
ntdll: Remove unused include.
2012-12-27 17:15:40 +01:00
Marcus Meissner
2ecd1dfaba
ntdll: Implement bsearch, lfind to use correct comparator functions.
2010-05-13 11:50:51 +02:00
Marcus Meissner
7642e03c63
ntdll: Reimplement qsort() using generic mergesort.
2010-05-11 11:27:03 +02:00
Alexandre Julliard
649a576fd0
ntdll: Copy the msvcrt printf implementation to ntdll to allow supporting MS ABI varargs.
2009-01-28 19:38:19 +01:00
Lei Zhang
ee60c49dd6
ntdll: Use our own implementation of atoi and atol.
2008-07-22 13:09:28 +02:00
Francois Gouget
6936bb100f
ntdll: Improve the prototypes Win64 compatibility by replacing long with LONG.
2007-06-11 20:18:28 +02:00
Andrew Talbot
a7aa7cb8b5
ntdll: Void functions should not return a value.
2007-04-12 16:16:51 +02:00
Alexandre Julliard
f2181a533e
ntdll: Fixed a compiler warning for size_t/unsigned int mismatch.
2007-03-09 22:17:55 +01:00
Francois Gouget
f3899c2651
ntdll: Better match the PSDK types and fix the winapi_check warnings.
2007-02-09 14:32:57 +01:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Alexandre Julliard
473fbcb781
ntdll: Add wrappers for the string functions.
2006-04-18 20:30:43 +02:00
Alexandre Julliard
2a192064e8
ntdll: memcpy should behave like memmove in ntdll too.
2006-01-24 12:28:34 +01:00
Markus Amsler
ae542af541
Improve c2man Documented-Total count.
2005-11-09 10:30:57 +00:00
Mike McCormack
04f9f1b066
Don't include winbase.h or winerror.h when not necessary.
2005-06-21 09:52:40 +00:00
Mike McCormack
5b2d5fd758
Use HANDLE instead of HKEY in the NT API.
2005-06-17 13:58:33 +00:00
Jon Griffiths
49e13df700
Remove unneeded headers to reduce unneeded rebuilds.
2004-12-17 19:09:29 +00:00
Jon Griffiths
bf5539bbe6
Documentation updates.
2004-09-13 18:04:31 +00:00
Dave Belanger
2c39191ef1
Fix splitpath and wsplitpath for the file extension.
2003-10-21 23:51:06 +00:00
Alexandre Julliard
2937826866
Rewrote splitpath and wsplitpath to avoid modifying the path
...
separators.
2003-10-15 02:34:51 +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
Thomas Mertes
c83aa0d311
- Implement RtlDowncaseUnicodeString, RtlUniform, iswdigit, iswlower,
...
iswspace, iswxdigit.
- Fixed RtlInt64ToUnicodeString and RtlIntegerToUnicodeString.
- According to tests RtlAppendUnicodeStringToString leaves the
destination unchanged when the source length is 0 (FIXED).
- Documentation updates in RtlExtendedMagicDivide,
RtlLargeIntegerToChar, RtlInt64ToUnicodeString, RtlUpperChar,
RtlUpperString, RtlUpcaseUnicodeChar, RtlCharToInteger,
RtlIntegerToChar, RtlUnicodeStringToInteger,
RtlIntegerToUnicodeString, _ultoa, _ltoa, _itoa, _ui64toa, _i64toa,
_atoi64, _ultow, _ltow, _itow, _ui64tow, _i64tow, _wtol, _wtoi,
_wtoi64.
2003-03-22 00:20:58 +00:00
Thomas Mertes
414772ac28
Implement _itoa, _ltoa, _ultoa, _i64toa, _ui64toa, _itow, _ltow,
...
_ultow, _i64tow, _ui64tow, _atoi64, _wtoi, _wtol, _wtoi64.
2003-03-12 20:16:07 +00:00
Alexandre Julliard
d0590c0658
Fixed buffer size in _ultoa (spotted by Joerg Mayer).
2002-10-09 20:27:33 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Alexandre Julliard
9b6f433ebb
Implemented strtolW/strtoulW in libwine_unicode and used it to replace
...
wcstol and friends.
2002-05-16 18:58:47 +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
Johann Messner
4014c74e14
Fixed bug in _ultoa.
2001-09-07 19:48:31 +00:00
Patrik Stridvall
3ca9823941
Documentation ordinal fixes.
2001-06-20 23:03:14 +00:00
Jon Griffiths
4ab1558d8a
- Remove <string.h> from winnt.h.
...
- ntdll: complete crt functions, prevent libc imports, fix sscanf.
2001-01-22 02:17:29 +00:00
Alexandre Julliard
4f356e86e4
Moved shared crtdll/ntdll functions into ntdll.
...
Made crtdll a separate dll.
2000-06-23 16:16:30 +00:00