Commit Graph

41 Commits

Author SHA1 Message Date
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
Alexandre Julliard 5646fec9b1 include: Use __p__iob on i386 to avoid problems with Mingw libraries. 2008-12-17 17:38:02 +01:00
Alexandre Julliard bb33b0a21d msvcrt: Add __cdecl to all function prototypes. 2008-12-17 15:00:28 +01:00
Alexandre Julliard e2b3ee535f msvcrt: The __p_* functions are only exported on i386. 2008-12-15 16:20:08 +01:00
Alexandre Julliard 4305e6d119 msvcrt: Use iob_func instead of p__iob on non-x86. 2008-12-12 10:19:55 +01:00
Alexandre Julliard 33fa6c2e25 include: Add the msvcrt/crtdefs.h header and include it where needed. 2008-12-12 10:19:55 +01:00
Alexandre Julliard 74d63c020c include: Fix the definition of 64-bit types for Mingw64. 2008-12-09 17:42:13 +01:00
Dmitry Timoshkov 70015ab5b4 include/msvcrt: Make sure that __int64 is properly defined on a 64-bit platform. 2007-06-06 20:33:54 +02:00
Dmitry Timoshkov 2af96fe590 msvcrt: Pack the structures on a 8-byte boundary like in PSDK. 2007-02-20 12:24:04 +01:00
Alexandre Julliard 9abd8852dd configure: Don't define _WIN64 on the command line to avoid trouble with system headers. 2006-10-16 21:29:23 +02:00
Alexandre Julliard 945292737b include/msvcrt: Fix all definitions of size_t for Win64. 2006-07-10 12:28:25 +02:00
Lionel Ulmer cc89feb9c4 fpos_t should be 64 bits (verified with native MSVCRT.DLL) 2005-01-04 20:38:14 +00: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
Eric Pouech bcc2a5c540 - rewrote the file code so that streams manage low level file desc
(the code was written the other way around)
- reworked the flag handling code (now the stream._flag is closer to
  what MS does)
- simplified temp files handling by using FILE_FLAG_DELETE_ON_CLOSE in
  CreateFile
- fixed a couple of bugs
2004-05-12 00:12:26 +00:00
Dimitrie O. Paun adb4cb3890 Fix the _WCTYPE_T_DEFINED sentry for compatibility. 2004-04-26 23:31:39 +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 c042e13ef6 Fixed varargs handling in the scanf functions (spotted by Eric
Pouech).
2004-02-19 01:13:12 +00:00
Pavel Roskin 9661d05b4e MSVCRT_tmpnam(): complete rewrite. Use the same names as the native
version.  Use the caller-supplied buffer if possible.
2003-10-24 00:23:51 +00:00
Dimitrie O. Paun 2703584b15 Alias _vsnprintf as vsnprintf. 2003-08-13 22:01:12 +00:00
Jon Griffiths 5f17550896 Don't redefine __WINE_USE_MSVCRT (msvc warning).
Don't return a void value in swab().
'long long' is not recognised by msvc, use __int64.
2003-07-18 22:57:15 +00:00
Alexandre Julliard 98f020234c Use aliases instead of #defines for the varargs functions when using
gcc.
2003-03-26 01:29:56 +00:00
Madhura Sahasrabudhe 992d1b998a Changed the macros in the msvcrt headers to static inline functions. 2003-03-22 21:15:41 +00:00
Dimitrie O. Paun df9537eaef Use inline functions instead of macros to avoid problems in C++.
Inline functions respect scope, whereas macros don't.
Define umask in sys/stat.h, and mode_t in sys/types.h.
2003-01-11 22:49:54 +00:00
Alexandre Julliard b4a4c05aed Removed a few more #ifdef __WINE__. 2003-01-04 00:19:17 +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
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
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Waldek Hebisch 75315fa6d8 Implemented stdio buffering and ungetc. Misc stdio fixes. 2002-03-11 05:03:05 +00:00
Francois Gouget a45907c4c0 Added __WINE_USE_MSVCRT. 2001-10-22 18:59:23 +00:00
Francois Gouget 0a26d420d9 The _IOXXX macros conflict with system headers on Solaris. Prefix
them.
2001-10-15 17:50:55 +00:00
Francois Gouget fcba601cf4 RC_INVOKED (&NOWINRES) special cases. 2001-05-07 18:18:33 +00:00
Francois Gouget eee695dd71 Added headers for the msvcrt library. 2001-04-10 23:21:43 +00:00