Commit Graph

58 Commits

Author SHA1 Message Date
Francois Gouget 433430ae96 Add msvcrt/locale.h.
Add missing include directives in msvcrt/wchar.h.
Fix prototype of _wstati64 in msvcrt/sys/stat.h.
2001-09-19 20:29:33 +00:00
Francois Gouget bab91aa4af Implemented _mbsupr. 2001-09-17 19:02:21 +00:00
Patrik Stridvall 3c0211f969 Cleanup code that is strange or difficult to parse. 2001-09-11 00:32:32 +00:00
Francois Gouget e0ca651e0e Rewrite msvcrt_{argvtos,valisttos} to be more efficient.
Warn about the ' ' and '"' handling of the exec and spawn functions.
Copy the command line in MSVCRT_system to make it writable.
2001-09-10 23:07:07 +00:00
Francois Gouget 20560f4535 Initialize argc/argv/wargv by calling ntdll.__wine_get_{w}main_args. 2001-09-07 19:47:30 +00:00
Marcus Meissner 2378305c89 Implemented mbsnbcnt, added stubs for _Gettnames and __lc_collate_cp. 2001-09-07 18:34:45 +00:00
Dmitry Timoshkov 29fdbe9f98 Correct .spec file parameters for msvcrt._fullpath and ntdll._splitpath. 2001-09-07 15:25:31 +00:00
Jukka Heinonen abdb6d6836 Fixed _control87 return value, use of wrong assembler command to get
fp control word and a bug that inverted _IC_AFFINE flag.
Made _controlfp work as specified in MSDN.
2001-08-13 20:03:29 +00:00
Mike McCormack 0dae258385 Implemented msvcrt._mbspbrk. 2001-08-10 22:24:54 +00:00
Mike McCormack 7b3495ac93 Implemented multibyte string reverse. 2001-08-09 21:37:19 +00:00
Patrik Stridvall 4b1574577d - Made sure that the files that contains the declarations
of the implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-23 23:50:18 +00:00
Marcus Meissner ff584e4d9c Pass handle to GetFileType, not MSVCRT fd. 2001-07-23 18:02:18 +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
Uwe Bonnes e0cef27056 Semistubs for _ismbcdigit,_ismbcspace,_mbslwr,_mbsnbcmp,_mbsspn. 2001-07-11 20:13:14 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Peter Hunnisett e3454c78ba CreateFile should be called with security attributes in _open. 2001-07-10 19:03:46 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Dmitry Timoshkov e070021789 Add missing config.h include. 2001-06-29 19:19:53 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Patrik Stridvall 887c035be1 - Added, cleaned up and/or documentated _{begin,end}thread{,ex}.
- _lfind and _ltow are implemented (not stubs).
2001-06-19 03:46:27 +00:00
Patrik Stridvall 6ac110836b Removed implementation of _ultow since it is forwarded to NTDLL in the
.spec file.
2001-06-19 03:44:39 +00:00
Marcus Meissner 737e624d1b _tzset just forwards to libc tzset(). 2001-06-13 19:35:48 +00:00
Patrik Stridvall 172cd1b967 Fixed some issues found by winapi_check. 2001-06-11 20:16:11 +00:00
Francois Gouget b6dc0940c2 fclose should return EOF (-1) if an error condition exists. 2001-05-31 21:33:32 +00:00
Francois Gouget 30a3d18a32 Call FreeEnvironmentStrings when msvcrt is unloaded. 2001-05-31 21:33:19 +00:00
Francois Gouget a08b165955 Added msvcrt/eh.h.
Implemented unexpected, terminate and set_unexpected/terminate.
2001-05-31 21:32:53 +00:00
Mike Bond a286cd3074 Fixed spawnlp and added exec variants. 2001-05-22 19:18:51 +00:00
Eric Pouech 2f6744b37c Correctly generate the environment global variables. 2001-05-22 19:17:26 +00:00
Mike Bond 2f3b2ec5e5 Implementation of spawnl and spawnlp. 2001-05-18 20:58:08 +00:00
Francois Gouget ee285b7ac8 Remove unnecessary single quoting of debugstr_xxx strings. 2001-05-11 20:03:40 +00:00
Francois Gouget e76218dd61 Add '\n' at the end of traces. 2001-05-09 17:31:31 +00:00
Francois Gouget 32ca55ee9d ntdll._iswctype should be ntdll.iswctype. 2001-05-02 01:09:47 +00:00
Patrik Stridvall b3086a7593 Fixed some issues found by winapi_check. 2001-04-25 19:54:21 +00:00
Francois Gouget 45e7a846bf We must not free the pointer returned by localtime (especially not
with MSVCRT_free!).
We no longer need to include stdlib.h.
2001-04-23 18:22:33 +00:00
Francois Gouget b29120d2c4 Add msvcrt/malloc.h (for the MFC).
Add msvcrt/search.h.
Move duplicated definitions to the new headers.
Use malloc.h instead of stdlib.h when sensible.
2001-04-23 18:20:55 +00:00
Ove Kaaven e188fda25f Handle the %f case in wsprintf. 2001-04-16 19:00:42 +00:00
Ove Kaaven 4e73f7e9ac Changed the spec definition of *s*printf from *str to ptr, since that
parameter is a destination buffer that may only contain garbage on entry.
2001-04-16 19:00:24 +00:00
Gerald Pfeifer ab02c2bdc9 Fixed MSVCRT_clock return type. 2001-04-16 18:54:31 +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
Eric Kohl 03df00e925 Added stub for _setjmp3().
Implemented _sopen().
2001-03-19 19:13:40 +00:00
Francois Gouget 282f7270c1 Small 'typos in comments' fixes. 2001-02-28 05:31:02 +00:00
Alexandre Julliard 3fe81b46d3 __getmainargs last argument is a pointer to new_mode. 2001-02-21 02:20:08 +00:00
Dmitry Timoshkov 5ab5e1c5df Fix prototypes of MSVCRT___getmainargs and MSVCRT___wgetmainargs.
Protect MSVCRT__acmdln global variable from corruption.
2001-02-20 00:51:49 +00:00
Patrik Stridvall 4fb3aa5fcd Fixed some issues found by winapi_check. 2001-02-12 03:45:09 +00:00
Josh DuBois 62e823c6b1 Fixed typo. 2001-01-28 23:12:19 +00:00
Patrik Stridvall d5f824b482 Fixed some issues found by winapi_check. 2001-01-25 22:23:08 +00:00
Jon Griffiths 2b77ea0441 Implemented __dllonexit. 2001-01-22 19:28:07 +00:00
James Juran d537d09b9c Use int instead of WCHAR in va_arg() (fixes gcc-current compilation
problem).
2001-01-22 19:26:42 +00:00
Francois Gouget 05fc3cdf9a Typo fixes in comments. 2001-01-22 02:22:26 +00:00