summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/include/stdio.h
Commit message (Collapse)AuthorAgeFilesLines
* * mingw: Delete obsolete directory.Christopher Faylor2012-11-071-662/+0
| | | | * w32api: Ditto.
* * include/stdio.h (_lock_file, _unlock_file): Declare.Earnie Boyd2012-08-031-1/+3
|
* * include/stdio.h (_getws, _putws): Guard with #ifndef __STRICT_ANSI__.Earnie Boyd2012-08-031-2/+4
| | | | | (_wfdopen, _wfopen, _wfreopen, _wfsopen, _wtmpnam, _wtempnam): Ditto. (_wrename, _wremove, _wperror, _wpopen): Ditto.
* 2011-11-30 Earnie Boyd <earnie@users.sourceforge.net>Chris Sutcliffe2011-12-011-0/+6
| | | | | * include/stdio.h (getc, putc, getchar, putchar, fopen64, ftello64): Add function definitions to fix warnings when building GCC.
* 2010-03-02 Daniel Atallah <datallah@users.sourceforge.net>Chris Sutcliffe2010-03-071-0/+2
| | | | | * include/stdio.h: (_vscprintf, _vscwprintf) * include/tchar.h: (_vsctprintf)
* Avoid multiple link time definitions of _printf() for C++Keith Marshall2009-09-011-1/+1
|
* 2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>Chris Sutcliffe2009-08-081-0/+1
| | | | | | | | | * include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit, __signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf, __fp_unordered_compare): Add prototypes. * include/stdio.h (vsnwprintf): Add prototype. * include/wchar.h (vsnwprintf): Add prototype. * include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard.
* 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>Chris Sutcliffe2009-07-181-0/+2
| | | | | | * include/inttypes.h include/math.h include/stdio.h include/stdlib.h include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard to all inline functions.
* Fix MinGW-Bug [2117379].Keith Marshall2008-09-191-15/+15
|
* Implement conditional replacement for printf() family functions.Keith Marshall2008-08-301-9/+123
|
* * include/stdio.h (swprintf, vswprintf): Guard with #ifndef ↵Danny Smith2008-07-041-2/+6
| | | | | | __STRICT_ANSI__ * include/wchar.h (swprintf, vswprintf): Likewise.
* Add _get_output_format(), _set_output_format() for MSVCRT >= MSVCR80Keith Marshall2008-07-011-6/+11
|
* Committed as obvious.Danny Smith2008-06-141-1/+1
| | | | | | | [mingw-Bugs-1801641] * include/wchar.h (_wfdopen): Const-ify second arg. * include/stdio.h (_wfdopen): Likewise. Thanks to <tdragon at users dot sourceforge net>
* Make snprintf() and vsnprintf() conform to C99.Keith Marshall2007-08-251-1/+9
|
* *include/assert.h: Qualify all functions with __MINGW_NOTHROW.Danny Smith2007-06-231-139/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *include/conio.h: Likewise. *include/ctype.h: Likewise. *include/direct.h: Likewise. *include/dos.h: Likewise. *include/errno.h: Likewise. *include/fenv.h: Likewise. *include/float.h: Likewise. *include/inttypes.h: Likewise. *include/io.h: Likewise. *include/libgen.h: Likewise. *include/locale.h: Likewise. *include/malloc.h: Likewise. *include/mbctype.h: Likewise. *include/mbstring.h: Likewise. *include/process.h: Likewise. *include/search.h: Likewise. *include/setjmp.h: Likewise. *include/signal.h: Likewise. *include/stdio.h: Likewise. *include/stdlib.h: Likewise. *include/string.h: Likewise. *include/time.h: Likewise. *include/wchar.h: Likewise. *include/sys/stat.h: Likewise. *include/sys/time.h: Likewise. *include/sys/timeb.h: Likewise. *include/sys/utime.h: Likewise.
* * include/stdio.h (vsnprintf): Remove inline definition.Danny Smith2007-06-181-4/+3
| | | | Add prototype.
* 2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>Danny Smith2007-02-271-2/+4
| | | | * include/stdio.h (_unlink, unlink): Add prototypes.
* Expose some msvcr80.dll functions.Danny Smith2007-01-271-0/+10
| | | | | | | * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64, _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64, _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
* Expose some msvcr80.dll functions.Danny Smith2007-01-261-0/+5
| | | | | | | | | | | | * include/stdlib.h (_set_abort_behavior): Add prototype. (_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for _set_abort_behavior mask argument. (_invalid_parameter_handler): Add typedef. (_set_invalid_parameter_handler): Add prototype. * include/stdio.h (_get_printf_count_output): Add prototype. (_set_printf_count_output): Add prototype. * msvcrt.def.in (_get_printf_count_output, _set_printf_count_output, _set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
* * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): DefineDanny Smith2007-01-191-14/+5
| | | | | | | | unconditionally. Change comment. * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define here too. * include/io.h (rename): Declare. (remove): Declare.
* * include/stdio.h (__mingw_fwrite): Change return value toDanny Smith2005-03-241-1/+1
| | | | | size_t. * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
* * include/stdio.h (P_tmpdir): Add define.Danny Smith2005-01-061-0/+3
|
* 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>Danny Smith2004-06-301-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | Danny Smith <dannysmith@users.sourceforge.net> * include/stdio.h (fopen64): Add inline function. (fseeko64): Add prototype. (ftello64): Add inline function. * include/io.h (lseek64): Add inline function. * include/sys/types (off64_t): Add typedef. (fpos64_t): Add typedef. * mingwex/fopen64.c: New file. * mingwex/fseeko64.c: New file. * mingwex/ftello64.c: New file. * mingwex/lseek64.c: New file. * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c, fseeko.64.c, ftello64.c, lseek64.c. (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o. 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net> * include/stdio.h (__mingw_fseeko64): Add prototype. * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition. (__mingw_fwrite): Handle huge files.
* * CONTRIBUTORS: New file.Earnie Boyd2004-04-201-19/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DISCLAIMER: Ditto. * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors section CONTRIBUTORS file. Remove RCS tags. * CRTFmode.c: Ditto. * CRTglob.c: Ditto. * CRTinit.c: Ditto. * crt1.c: Ditto. * crtdll.dev: Ditto. * dllcrt1.c: Ditto. * dllmain.c: Ditto. * gccmain.c: Ditto. * init.c: Ditto. * isascii.c: Ditto. * iscsym.c: Ditto. * iscsymf.c: Ditto. * jamfile: Ditto. * main.c: Ditto. * msvcrt.def.in: Ditto. * strcasecmp.c: Ditto. * toascii.c: Ditto. * wcscmpi.c: Ditto. * include/assert.h: Ditto. * include/conio.h: Ditto. * include/ctype.h: Ditto. * include/direct.h: Ditto. * include/dirent.h: Ditto. * include/dos.h: Ditto. * include/errno.h: Ditto. * include/excpt.h: Ditto. * include/fcntl.h: Ditto. * include/float.h: Ditto. * include/io.h: Ditto. * include/locale.h: Ditto. * include/malloc.h: Ditto. * include/math.h: Ditto. * include/process.h: Ditto. * include/setjmp.h: Ditto. * include/share.h: Ditto. * include/signal.h: Ditto. * include/stdio.h: Ditto. * include/stdlib.h: Ditto. * include/string.h: Ditto. * include/tchar.h: Ditto. * include/time.h: Ditto. * include/wchar.h: Ditto. * include/sys/locking.h: Ditto. * include/sys/param.h: Ditto. * include/sys/stat.h: Ditto. * include/sys/timeb.h: Ditto. * include/sys/types.h: Ditto. * include/sys/utime.h: Ditto. * mingwex/dirent.c: Ditto.
* * include/stdio.h (_fsopen): Add prototype.Danny Smith2004-03-251-0/+1
| | | | | * include/tchar.h (_tfsopen): Add defines. Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
* * include/stdio.h (feof): Add inlined definition.Danny Smith2004-02-021-1/+12
| | | | (ferror): Ditto.
* * include/stdio.h:(_fileno): Define macro version after bothDanny Smith2003-12-131-4/+9
| | | | | | | fileno and _fileno functions declared. * include/stdio.h (_rmtmp, rmtmp): Add prototypes. * moldnames.def.in (rmtmp) Add stub.
* * include/stdio.h (_filbuf): Add prototype.Danny Smith2003-10-171-4/+4
| | | | | | | | (_flsbuf): Add prototype. (getc): Add inline version. (putc): Likewise. (getchar): Likewise. (putchar): Likewise.
* * include/stdio.h (_filbuf): Add prototype.Danny Smith2003-10-031-5/+48
| | | | | | | | (_flsbuf): Add prototype. (getc): Add inline version. (putc): Likewise. (getchar): Likewise. (putchar): Likewise.
* * include/io.h (_fileno): Remove prototype.Danny Smith2003-09-241-3/+8
| | | | | | | | | | (fileno): Likewise. (FILENAME_MAX): Define, if needed. Don't include <stdio.h>. * include/stdio.h (FILENAME_MAX): Protect against prior definition. (_fileno): Define macro implementation. (fileno): Likewise.
* * include/_mingw.h (__CRT_INLINE): Define.Danny Smith2003-09-241-2/+2
| | | | | | | | | | | | * include/ctype.h: Replace 'extern inline' with __CRT_INLINE, throughout * include/inttypes.h: Likewise. * include/math.h: Likewise. * include/stdio.h: Likewise. * include/stdlib.h: Likewise. * include/string.h: Likewise. * include/wchar.h: Likewise. * include/wctype.h: Likewise.
* 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2003-03-021-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/stdio.h (vscanf): Add prototype. (vfscanf): Ditto. (vsscanf): Ditto. (vwscanf): Ditto. (vfwscanf): Ditto. (vswscanf): Ditto. * include/wchar.h (vwscanf): Add prototype. (vfwscanf): Ditto. (vswscanf): Ditto. * mingwex/snprintf.c: Move to mingwex/stdio. * mingwex/vsnprintf.c: Ditto. * mingwex/snwprintf.c: Ditto. * mingwex/vsnwprintf.c: Ditto. * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio (STDIO_DISTFILES): Add. (DISTFILES): Adjust. (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects. (LIB_OBJS): Adjust. (dist): Adjust. 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com> * mingwex/stdio: New directory * mingwex/stdio/vfscanf.c: New file. * mingwex/stdio/vfwscanf.c: New file. * mingwex/stdio/vscanf.c: New file. * mingwex/stdio/vsscanf.c: New file. * mingwex/stdio/vswscanf.c: New file. * mingwex/stdio/vwscanf.c: New file.
* * include/_mingw.h (_CRTIMP): Define for __GNUC__ ifDanny Smith2003-02-101-108/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __declspec(dllimport) supported. (__cdecl): Define if not already defined. (__stdcall): Likewise. * include/dirent.h: Qualify fuctions with __cdecl. * include/fenv.h: Likewise. * include/inttypes.h: Likewise. * include/assert.h: Qualify fuctions with __cdecl. Qualify CRT dll imports with _CRTIMP. * include/conio.h: Likewise. * include/ctype.h: Likewise. * include/direct.h: Likewise. * include/dos.h: Likewise. * include/errno.h: Likewise. * include/float.h: Likewise. * include/io.h: Likewise. * include/locale.h: Likewise. * include/malloc.h: Likewise. * include/math.h: Likewise. * include/mbctype.h: Likewise. * include/mbstring.h: Likewise. * include/process.h: Likewise. * include/setjmp.h: Likewise. * include/signal.h: Likewise. * include/stdio.h: Likewise. * include/stdlib.h: Likewise. * include/string.h: Likewise. * include/time.h: Likewise. * include/wchar.h: Likewise. * include/wctype.h: Likewise. * include/sys/stat.h: Likewise. * include/sys/timeb.h: Likewise. * include/sys/utime.h: Likewise. * include/ctype.h: Guard ctype inlines with __NO_INLINE__. * include/wctype.h: Guard wctype inlines with __NO_INLINE__. * include/stdio.h (__VALIST): Guard against prior definition.
* 2002-10-30 Guido Serassio <serassio@libero.it>Danny Smith2002-10-301-1/+5
| | | | | * include/stdio.h (_getnaxstdio): Add prototype. (_setmaxstdio): Likewise.
* 2002-09-16 Ranjit Matthew <rmathew@hotmail.com>Danny Smith2002-09-161-1/+1
| | | | * include/stdio.h: Correct comment about directory separator.
* * include/stdio.h (_fcloseall): Add prototype.Danny Smith2002-08-031-0/+1
|
* 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>Danny Smith2002-06-181-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before defining. * include/excpt.h (): Include windef.h not windows.h. * include/fcntl.h (_O_SHORT_LIVED): Add define. (_chmod): Add prototype. (_creat): Correct prototype. (SH_DENY*): Rename defines to _SH_DENY*. (SH_DENY*): Add Non-ANSI names for _SH_DENY*. include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG, _IOAPPEND): Add defines. (_wfindfirst): Correct prototype. (_wfdopen): Add prototype. * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add prototypes. * include/string.h (_mbschr, _mbstok, _mbsncat): Remove prototypes. (_wcsdup): Correct prototype. * include/mbstring.h: Remove comments about _mbschr, _mbstok, _mbsncat being in string.h. * include/wchar.h (_wfindfirst): Correct prototype. * include/tchar.h (_tfdopen): Add _UNICODE mappings.
* * include/_mingw.h: Increment version to 2.0.Danny Smith2002-06-131-23/+44
| | | | | * Makefile.in: Ditto. Merge in mingwex branch.
* * include/stdio.h (_snwprintf): Correct spelling.Danny Smith2002-03-301-2/+2
| | | | | | (_vsnwprintf): Likewise. * include/wchar.h (_snwprintf): Correct spelling. (_vsnwprintf): Likewise.
* * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL).Danny Smith2002-03-261-35/+27
| | | | | | | | | | | | | | | | (wpopen): Add if !(__CRTDLL). * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to preserve comments. (moldname-crtdll.def rule): Likewise. * moldname-msvcrt.def: Regenerate. * moldname-crtdll.def: Regenerate. * include/stdio.h (wpopen):Use prototype, not a define. (_swnprintf): Add prototype. (_vswnprintf): Likewise. Tidy up whitespace. * include/wchar.h (_swnprintf): Add prototype. (_vswnprintf): Likewise. Tidy up whitespace.
* Merge MinGW CVS differencesEarnie Boyd2001-12-051-1/+1
|
* * include/stdarg.h (va_list): Typedef as __builtin_va_list ifEarnie Boyd2001-08-291-3/+6
| | | | | | __GNUC__ >= 3. * include/varargs.h (va_list): Ditto. * include/stdio.h (va_list): Ditto.
* * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.Earnie Boyd2001-08-051-6/+17
| | | | | | | | | | * include/stdio.h (_IORW): Change constant to 0x0080. (TMP_MAX): Add new define. (_P_tmpdir): Ditto. (_wP_tmpdir): Ditto. (L_tmpnam): Change constant to 16. * include/malloc.h: Fix non-ANSI comment after #endif. * profile/Makefile.in (mkinstalldirs): Correct relative path.
* * include/stdio.h (swscanf): Make first arugument const.Earnie Boyd2001-06-111-1/+1
| | | | | | | * include/wchar.h (swscanf): Ditto. * include/tchar.h (_tfopen): New _UNICODE define. (_tgetenv): Ditto. (_tsetlocale): Ditto.
* * include/direct.h: add guard around MSVCRT-only prototytpesEarnie Boyd2000-11-211-56/+63
| | | | | | | | | | | | | | | | * include/io.h: add __int64 struct definitions and function prototypes; add guard for MSVCRT-only prototypes * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX * include/stdio.h: add wchar function prototypes (__MSVCRT__); put wchar functions together to make sync with wchar.h easier * include/stdlib.h: add wide char functions (__MSVCRT__) * include/string.h: add string collation functions ( __MSVCRT__) * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__) * include/tchar.h: add macros and macro function definitions * include/wchar.h: add wide char function prototypes ( __MSVCRT__ ); enclose more functions in __MSVCRT__ guard; some oldname wide char function prototypes #if (0)'d * profile/gmon.h: add guard around BSD-ish typedefs
* import winsup-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+373