ReactOS  0.4.13-dev-66-gc714b7f
stdio.h File Reference
#include <crtdefs.h>
#include <stdarg.h>
#include <vadefs.h>
#include <sec_api/stdio_s.h>
Include dependency graph for stdio.h:

Go to the source code of this file.

Classes

struct  _iobuf
 

Macros

#define __need___va_list
 
#define BUFSIZ   512
 
#define _NFILE   _NSTREAM_
 
#define _NSTREAM_   512
 
#define _IOB_ENTRIES   20
 
#define EOF   (-1)
 
#define _FILE_DEFINED
 
#define _P_tmpdir   "\\"
 
#define _wP_tmpdir   L"\\"
 
#define L_tmpnam   (sizeof(_P_tmpdir) + 12)
 
#define SEEK_CUR   1
 
#define SEEK_END   2
 
#define SEEK_SET   0
 
#define STDIN_FILENO   0
 
#define STDOUT_FILENO   1
 
#define STDERR_FILENO   2
 
#define FILENAME_MAX   260
 
#define FOPEN_MAX   20
 
#define _SYS_OPEN   20
 
#define TMP_MAX   32767
 
#define NULL   ((void *)0)
 
#define _OFF_T_DEFINED
 
#define _OFF_T_
 
#define _OFF64_T_DEFINED
 
#define _STDSTREAM_DEFINED
 
#define stdin   (&_iob[0])
 
#define stdout   (&_iob[1])
 
#define stderr   (&_iob[2])
 
#define _FPOS_T_DEFINED
 
#define _FPOSOFF(fp)   ((long)(fp))
 
#define _IOREAD   0x0001
 
#define _IOWRT   0x0002
 
#define _IOFBF   0x0000
 
#define _IOLBF   0x0040
 
#define _IONBF   0x0004
 
#define _IOMYBUF   0x0008
 
#define _IOEOF   0x0010
 
#define _IOERR   0x0020
 
#define _IOSTRG   0x0040
 
#define _IORW   0x0080
 
#define _USERBUF   0x0100
 
#define _TWO_DIGIT_EXPONENT   0x1
 
#define _CRT_PERROR_DEFINED
 
#define _CRT_DIRECTORY_DEFINED
 
#define vsnprintf   _vsnprintf
 
#define snprintf   _snprintf
 
#define WEOF   (wint_t)(0xFFFF)
 
#define _CRT_WPERROR_DEFINED
 
#define wpopen   _wpopen
 
#define getwchar()   fgetwc(stdin)
 
#define putwchar(_c)   fputwc((_c),stdout)
 
#define getwc(_stm)   fgetwc(_stm)
 
#define putwc(_c, _stm)   fputwc(_c,_stm)
 
#define _putwc_nolock(_c, _stm)   _fputwc_nolock(_c,_stm)
 
#define _getwc_nolock(_stm)   _fgetwc_nolock(_stm)
 
#define _WSTDIO_DEFINED
 
#define _STDIO_DEFINED
 
#define _fgetc_nolock(_stream)   (--(_stream)->_cnt >= 0 ? 0xff & *(_stream)->_ptr++ : _filbuf(_stream))
 
#define _fputc_nolock(_c, _stream)   (--(_stream)->_cnt >= 0 ? 0xff & (*(_stream)->_ptr++ = (char)(_c)) : _flsbuf((_c),(_stream)))
 
#define _getc_nolock(_stream)   _fgetc_nolock(_stream)
 
#define _putc_nolock(_c, _stream)   _fputc_nolock(_c,_stream)
 
#define _getchar_nolock()   _getc_nolock(stdin)
 
#define _putchar_nolock(_c)   _putc_nolock((_c),stdout)
 
#define _getwchar_nolock()   _getwc_nolock(stdin)
 
#define _putwchar_nolock(_c)   _putwc_nolock((_c),stdout)
 
#define P_tmpdir   _P_tmpdir
 
#define SYS_OPEN   _SYS_OPEN
 

Typedefs

typedef struct _iobuf FILE
 
typedef long _off_t
 
typedef long off_t
 

Functions

_CRTIMP FILE *__cdecl __iob_func (void)
 
_Check_return_ _CRTIMP int __cdecl _filbuf (_Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP int __cdecl _flsbuf (_In_ int _Ch, _Inout_ FILE *_File)
 
_Check_return_ _CRTIMP FILE *__cdecl _fsopen (_In_z_ const char *_Filename, _In_z_ const char *_Mode, _In_ int _ShFlag)
 
_CRTIMP void __cdecl clearerr (_Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP int __cdecl fclose (_Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP int __cdecl _fcloseall (void)
 
_Check_return_ _CRTIMP FILE *__cdecl _fdopen (_In_ int _FileHandle, _In_z_ const char *_Mode)
 
_Check_return_ _CRTIMP int __cdecl feof (_In_ FILE *_File)
 
_Check_return_ _CRTIMP int __cdecl ferror (_In_ FILE *_File)
 
_Check_return_opt_ _CRTIMP int __cdecl fflush (_Inout_opt_ FILE *_File)
 
_Check_return_opt_ _CRTIMP int __cdecl fgetc (_Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP int __cdecl _fgetchar (void)
 
_Check_return_opt_ _CRTIMP int __cdecl fgetpos (_Inout_ FILE *_File, _Out_ fpos_t *_Pos)
 
_Check_return_opt_ _CRTIMP char *__cdecl fgets (_Out_writes_z_(_MaxCount) char *_Buf, _In_ int _MaxCount, _Inout_ FILE *_File)
 
_Check_return_ _CRTIMP int __cdecl _fileno (_In_ FILE *_File)
 
_Check_return_ _CRTIMP char *__cdecl _tempnam (_In_opt_z_ const char *_DirName, _In_opt_z_ const char *_FilePrefix)
 
_Check_return_opt_ _CRTIMP int __cdecl _flushall (void)
 
_Check_return_ _CRTIMP FILE *__cdecl fopen (_In_z_ const char *_Filename, _In_z_ const char *_Mode)
 
_Check_return_opt_ _CRTIMP int __cdecl fprintf (_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
 
_Check_return_opt_ _CRTIMP int __cdecl fputc (_In_ int _Ch, _Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP int __cdecl _fputchar (_In_ int _Ch)
 
_Check_return_opt_ _CRTIMP int __cdecl fputs (_In_z_ const char *_Str, _Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP size_t __cdecl fread (_Out_writes_bytes_(_ElementSize *_Count) void *_DstBuf, _In_ size_t _ElementSize, _In_ size_t _Count, _Inout_ FILE *_File)
 
_Check_return_ _CRTIMP FILE *__cdecl freopen (_In_z_ const char *_Filename, _In_z_ const char *_Mode, _Inout_ FILE *_File)
 
_Check_return_ _CRTIMP int __cdecl fscanf (_Inout_ FILE *_File, _In_z_ _Scanf_format_string_ const char *_Format,...)
 
_Check_return_opt_ _CRTIMP int __cdecl fsetpos (_Inout_ FILE *_File, _In_ const fpos_t *_Pos)
 
_Check_return_opt_ _CRTIMP int __cdecl fseek (_Inout_ FILE *_File, _In_ long _Offset, _In_ int _Origin)
 
_Check_return_ _CRTIMP long __cdecl ftell (_Inout_ FILE *_File)
 
_Check_return_opt_ __MINGW_EXTENSION _CRTIMP int __cdecl _fseeki64 (_Inout_ FILE *_File, _In_ __int64 _Offset, _In_ int _Origin)
 
_Check_return_ __MINGW_EXTENSION _CRTIMP __int64 __cdecl _ftelli64 (_Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP size_t __cdecl fwrite (_In_reads_bytes_(_Size *_Count) const void *_Str, _In_ size_t _Size, _In_ size_t _Count, _Inout_ FILE *_File)
 
_Check_return_ _CRTIMP int __cdecl getc (_Inout_ FILE *_File)
 
_Check_return_ _CRTIMP int __cdecl getchar (void)
 
_Check_return_ _CRTIMP int __cdecl _getmaxstdio (void)
 
_CRTIMP char *__cdecl gets (char *_Buffer)
 
_Check_return_ _CRTIMP int __cdecl _getw (_Inout_ FILE *_File)
 
_CRTIMP void __cdecl perror (_In_opt_z_ const char *_ErrMsg)
 
_Check_return_opt_ _CRTIMP int __cdecl _pclose (_Inout_ FILE *_File)
 
_Check_return_ _CRTIMP FILE *__cdecl _popen (_In_z_ const char *_Command, _In_z_ const char *_Mode)
 
_Check_return_opt_ _CRTIMP int __cdecl printf (_In_z_ _Printf_format_string_ const char *_Format,...)
 
_Check_return_opt_ _CRTIMP int __cdecl putc (_In_ int _Ch, _Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP int __cdecl putchar (_In_ int _Ch)
 
_Check_return_opt_ _CRTIMP int __cdecl puts (_In_z_ const char *_Str)
 
_Check_return_opt_ _CRTIMP int __cdecl _putw (_In_ int _Word, _Inout_ FILE *_File)
 
_Check_return_ _CRTIMP int __cdecl remove (_In_z_ const char *_Filename)
 
_Check_return_ _CRTIMP int __cdecl rename (_In_z_ const char *_OldFilename, _In_z_ const char *_NewFilename)
 
_Check_return_ _CRTIMP int __cdecl _unlink (_In_z_ const char *_Filename)
 
_Check_return_ _CRTIMP int __cdecl unlink (_In_z_ const char *_Filename)
 
_CRTIMP void __cdecl rewind (_Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP int __cdecl _rmtmp (void)
 
_Check_return_ _CRTIMP int __cdecl scanf (_In_z_ _Scanf_format_string_ const char *_Format,...)
 
_CRTIMP void __cdecl setbuf (_Inout_ FILE *_File, _Inout_updates_opt_(BUFSIZ) _Post_readable_size_(0) char *_Buffer)
 
_Check_return_opt_ _CRTIMP int __cdecl _setmaxstdio (_In_ int _Max)
 
_Check_return_opt_ _CRTIMP unsigned int __cdecl _set_output_format (_In_ unsigned int _Format)
 
_Check_return_opt_ _CRTIMP unsigned int __cdecl _get_output_format (void)
 
_Check_return_opt_ _CRTIMP int __cdecl setvbuf (_Inout_ FILE *_File, _Inout_updates_opt_z_(_Size) char *_Buf, _In_ int _Mode, _In_ size_t _Size)
 
_Check_return_ _CRTIMP int __cdecl _scprintf (_In_z_ _Printf_format_string_ const char *_Format,...)
 
_Check_return_ _CRTIMP int __cdecl sscanf (_In_z_ const char *_Src, _In_z_ _Scanf_format_string_ const char *_Format,...)
 
_Check_return_opt_ _CRTIMP int __cdecl _snscanf (_In_reads_bytes_(_MaxCount) _Pre_z_ const char *_Src, _In_ size_t _MaxCount, _In_z_ _Scanf_format_string_ const char *_Format,...)
 
_Check_return_ _CRTIMP FILE *__cdecl tmpfile (void)
 
_CRTIMP char *__cdecl tmpnam (_Pre_maybenull_ _Post_z_ char *_Buffer)
 
_Check_return_opt_ _CRTIMP_ALT int __cdecl ungetc (_In_ int _Ch, _Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP int __cdecl vfprintf (_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format, va_list _ArgList)
 
_Check_return_opt_ _CRTIMP int __cdecl vprintf (_In_z_ _Printf_format_string_ const char *_Format, va_list _ArgList)
 
_Check_return_opt_ _CRTIMP int __cdecl vsnprintf (_Out_writes_(_MaxCount) char *_DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_ const char *_Format, va_list _ArgList)
 
_CRTIMP int __cdecl _snprintf (char *_Dest, size_t _Count, const char *_Format,...)
 
_CRTIMP int __cdecl _vsnprintf (char *_Dest, size_t _Count, const char *_Format, va_list _Args)
 
int __cdecl sprintf (char *_Dest, const char *_Format,...)
 
int __cdecl vsprintf (char *_Dest, const char *_Format, va_list _Args)
 
int __cdecl snprintf (char *s, size_t n, const char *format,...)
 
int __cdecl vscanf (const char *__restrict__ Format, va_list argp)
 
int __cdecl vfscanf (FILE *__restrict__ fp, const char *Format, va_list argp)
 
int __cdecl vsscanf (const char *__restrict__ _Str, const char *__restrict__ Format, va_list argp)
 
_Check_return_ _CRTIMP int __cdecl _vscprintf (_In_z_ _Printf_format_string_ const char *_Format, va_list _ArgList)
 
_CRTIMP int __cdecl _set_printf_count_output (_In_ int _Value)
 
_CRTIMP int __cdecl _get_printf_count_output (void)
 
_Check_return_ _CRTIMP FILE *__cdecl _wfsopen (_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_Mode, _In_ int _ShFlag)
 
_Check_return_opt_ _CRTIMP wint_t __cdecl fgetwc (_Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP wint_t __cdecl _fgetwchar (void)
 
_Check_return_opt_ _CRTIMP wint_t __cdecl fputwc (_In_ wchar_t _Ch, _Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP wint_t __cdecl _fputwchar (_In_ wchar_t _Ch)
 
_Check_return_ _CRTIMP wint_t __cdecl getwc (_Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP wint_t __cdecl putwc (_In_ wchar_t _Ch, _Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP wint_t __cdecl putwchar (_In_ wchar_t _Ch)
 
_Check_return_opt_ _CRTIMP wint_t __cdecl ungetwc (_In_ wint_t _Ch, _Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP wchar_t *__cdecl fgetws (_Out_writes_z_(_SizeInWords) wchar_t *_Dst, _In_ int _SizeInWords, _Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP int __cdecl fputws (_In_z_ const wchar_t *_Str, _Inout_ FILE *_File)
 
_CRTIMP wchar_t *__cdecl _getws (wchar_t *_String)
 
_Check_return_opt_ _CRTIMP int __cdecl _putws (_In_z_ const wchar_t *_Str)
 
_Check_return_opt_ _CRTIMP int __cdecl fwprintf (_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const wchar_t *_Format,...)
 
_Check_return_opt_ _CRTIMP int __cdecl wprintf (_In_z_ _Printf_format_string_ const wchar_t *_Format,...)
 
_Check_return_ _CRTIMP int __cdecl _scwprintf (_In_z_ _Printf_format_string_ const wchar_t *_Format,...)
 
_Check_return_opt_ _CRTIMP int __cdecl vfwprintf (_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
 
_Check_return_opt_ _CRTIMP int __cdecl vwprintf (_In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
 
_Check_return_opt_ _CRTIMP int __cdecl swprintf (_Out_ wchar_t *, _Printf_format_string_ const wchar_t *,...)
 
_CRTIMP int __cdecl vswprintf (_Out_ wchar_t *, const wchar_t *, va_list)
 
_Check_return_opt_ _CRTIMP int __cdecl _swprintf_c (_Out_writes_z_(_SizeInWords) wchar_t *_DstBuf, _In_ size_t _SizeInWords, _In_z_ _Printf_format_string_ const wchar_t *_Format,...)
 
_Check_return_opt_ _CRTIMP int __cdecl _vswprintf_c (_Out_writes_z_(_SizeInWords) wchar_t *_DstBuf, _In_ size_t _SizeInWords, _In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
 
_CRTIMP int __cdecl _snwprintf (wchar_t *_Dest, size_t _Count, const wchar_t *_Format,...)
 
_CRTIMP int __cdecl _vsnwprintf (wchar_t *_Dest, size_t _Count, const wchar_t *_Format, va_list _Args)
 
_CRTIMP int __cdecl snwprintf (wchar_t *s, size_t n, const wchar_t *format,...)
 
__CRT_INLINE int __cdecl vsnwprintf (wchar_t *s, size_t n, const wchar_t *format, va_list arg)
 
_CRTIMP int __cdecl vwscanf (const wchar_t *, va_list)
 
_CRTIMP int __cdecl vfwscanf (FILE *, const wchar_t *, va_list)
 
_CRTIMP int __cdecl vswscanf (const wchar_t *, const wchar_t *, va_list)
 
_CRTIMP int __cdecl _swprintf (wchar_t *_Dest, const wchar_t *_Format,...)
 
_CRTIMP int __cdecl _vswprintf (wchar_t *_Dest, const wchar_t *_Format, va_list _Args)
 
_Check_return_ _CRTIMP wchar_t *__cdecl _wtempnam (_In_opt_z_ const wchar_t *_Directory, _In_opt_z_ const wchar_t *_FilePrefix)
 
_Check_return_ _CRTIMP int __cdecl _vscwprintf (_In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
 
_Check_return_ _CRTIMP int __cdecl fwscanf (_Inout_ FILE *_File, _In_z_ _Scanf_format_string_ const wchar_t *_Format,...)
 
_Check_return_ _CRTIMP int __cdecl swscanf (_In_z_ const wchar_t *_Src, _In_z_ _Scanf_format_string_ const wchar_t *_Format,...)
 
_Check_return_opt_ _CRTIMP int __cdecl _snwscanf (_In_reads_(_MaxCount) _Pre_z_ const wchar_t *_Src, _In_ size_t _MaxCount, _In_z_ _Scanf_format_string_ const wchar_t *_Format,...)
 
_Check_return_ _CRTIMP int __cdecl wscanf (_In_z_ _Scanf_format_string_ const wchar_t *_Format,...)
 
_Check_return_ _CRTIMP FILE *__cdecl _wfdopen (_In_ int _FileHandle, _In_z_ const wchar_t *_Mode)
 
_Check_return_ _CRTIMP FILE *__cdecl _wfopen (_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_Mode)
 
_Check_return_ _CRTIMP FILE *__cdecl _wfreopen (_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_Mode, _Inout_ FILE *_OldFile)
 
_CRTIMP void __cdecl _wperror (_In_opt_z_ const wchar_t *_ErrMsg)
 
_Check_return_ _CRTIMP FILE *__cdecl _wpopen (_In_z_ const wchar_t *_Command, _In_z_ const wchar_t *_Mode)
 
_Check_return_ _CRTIMP int __cdecl _wremove (_In_z_ const wchar_t *_Filename)
 
_CRTIMP wchar_t *__cdecl _wtmpnam (_Pre_maybenull_ _Post_z_ wchar_t *_Buffer)
 
_Check_return_opt_ _CRTIMP wint_t __cdecl _fgetwc_nolock (_Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP wint_t __cdecl _fputwc_nolock (_In_ wchar_t _Ch, _Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP wint_t __cdecl _ungetwc_nolock (_In_ wint_t _Ch, _Inout_ FILE *_File)
 
_CRTIMP void __cdecl _lock_file (_Inout_ FILE *_File)
 
_CRTIMP void __cdecl _unlock_file (_Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP int __cdecl _fclose_nolock (_Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP int __cdecl _fflush_nolock (_Inout_opt_ FILE *_File)
 
_Check_return_opt_ _CRTIMP size_t __cdecl _fread_nolock (_Out_writes_bytes_(_ElementSize *_Count) void *_DstBuf, _In_ size_t _ElementSize, _In_ size_t _Count, _Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP int __cdecl _fseek_nolock (_Inout_ FILE *_File, _In_ long _Offset, _In_ int _Origin)
 
_Check_return_ _CRTIMP long __cdecl _ftell_nolock (_Inout_ FILE *_File)
 
_Check_return_opt_ __MINGW_EXTENSION _CRTIMP int __cdecl _fseeki64_nolock (_Inout_ FILE *_File, _In_ __int64 _Offset, _In_ int _Origin)
 
_Check_return_ __MINGW_EXTENSION _CRTIMP __int64 __cdecl _ftelli64_nolock (_Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP size_t __cdecl _fwrite_nolock (_In_reads_bytes_(_Size *_Count) const void *_DstBuf, _In_ size_t _Size, _In_ size_t _Count, _Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP int __cdecl _ungetc_nolock (_In_ int _Ch, _Inout_ FILE *_File)
 
_CRTIMP char *__cdecl tempnam (_In_opt_z_ const char *_Directory, _In_opt_z_ const char *_FilePrefix)
 
_Check_return_opt_ _CRTIMP int __cdecl fcloseall (void)
 
_Check_return_ _CRTIMP FILE *__cdecl fdopen (_In_ int _FileHandle, _In_z_ const char *_Format)
 
_Check_return_opt_ _CRTIMP int __cdecl fgetchar (void)
 
_Check_return_ _CRTIMP int __cdecl fileno (_In_ FILE *_File)
 
_Check_return_opt_ _CRTIMP int __cdecl flushall (void)
 
_Check_return_opt_ _CRTIMP int __cdecl fputchar (_In_ int _Ch)
 
_Check_return_ _CRTIMP int __cdecl getw (_Inout_ FILE *_File)
 
_Check_return_opt_ _CRTIMP int __cdecl putw (_In_ int _Ch, _Inout_ FILE *_File)
 
_Check_return_ _CRTIMP int __cdecl rmtmp (void)
 

Variables

__MINGW_EXTENSION typedef long long _off64_t
 
__MINGW_EXTENSION typedef long long off64_t
 
__MINGW_EXTENSION typedef __int64 fpos_t
 

Macro Definition Documentation

◆ __need___va_list

#define __need___va_list

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER within this package.

Definition at line 11 of file stdio.h.

◆ _CRT_DIRECTORY_DEFINED

#define _CRT_DIRECTORY_DEFINED

Definition at line 507 of file stdio.h.

◆ _CRT_PERROR_DEFINED

#define _CRT_PERROR_DEFINED

Definition at line 445 of file stdio.h.

◆ _CRT_WPERROR_DEFINED

#define _CRT_WPERROR_DEFINED

Definition at line 1041 of file stdio.h.

◆ _fgetc_nolock

#define _fgetc_nolock (   _stream)    (--(_stream)->_cnt >= 0 ? 0xff & *(_stream)->_ptr++ : _filbuf(_stream))

Definition at line 1118 of file stdio.h.

◆ _FILE_DEFINED

#define _FILE_DEFINED

Definition at line 38 of file stdio.h.

◆ _FPOS_T_DEFINED

#define _FPOS_T_DEFINED

Definition at line 112 of file stdio.h.

◆ _FPOSOFF

#define _FPOSOFF (   fp)    ((long)(fp))

Definition at line 117 of file stdio.h.

◆ _fputc_nolock

#define _fputc_nolock (   _c,
  _stream 
)    (--(_stream)->_cnt >= 0 ? 0xff & (*(_stream)->_ptr++ = (char)(_c)) : _flsbuf((_c),(_stream)))

Definition at line 1119 of file stdio.h.

◆ _getc_nolock

#define _getc_nolock (   _stream)    _fgetc_nolock(_stream)

Definition at line 1120 of file stdio.h.

◆ _getchar_nolock

#define _getchar_nolock ( )    _getc_nolock(stdin)

Definition at line 1122 of file stdio.h.

◆ _getwc_nolock

#define _getwc_nolock (   _stm)    _fgetwc_nolock(_stm)

Definition at line 1110 of file stdio.h.

◆ _getwchar_nolock

#define _getwchar_nolock ( )    _getwc_nolock(stdin)

Definition at line 1124 of file stdio.h.

◆ _IOB_ENTRIES

#define _IOB_ENTRIES   20

Definition at line 23 of file stdio.h.

◆ _IOEOF

#define _IOEOF   0x0010

Definition at line 133 of file stdio.h.

◆ _IOERR

#define _IOERR   0x0020

Definition at line 134 of file stdio.h.

◆ _IOFBF

#define _IOFBF   0x0000

Definition at line 128 of file stdio.h.

◆ _IOLBF

#define _IOLBF   0x0040

Definition at line 129 of file stdio.h.

◆ _IOMYBUF

#define _IOMYBUF   0x0008

Definition at line 132 of file stdio.h.

◆ _IONBF

#define _IONBF   0x0004

Definition at line 130 of file stdio.h.

◆ _IOREAD

#define _IOREAD   0x0001

Definition at line 125 of file stdio.h.

◆ _IORW

#define _IORW   0x0080

Definition at line 136 of file stdio.h.

◆ _IOSTRG

#define _IOSTRG   0x0040

Definition at line 135 of file stdio.h.

◆ _IOWRT

#define _IOWRT   0x0002

Definition at line 126 of file stdio.h.

◆ _NFILE

#define _NFILE   _NSTREAM_

Definition at line 21 of file stdio.h.

◆ _NSTREAM_

#define _NSTREAM_   512

Definition at line 22 of file stdio.h.

◆ _OFF64_T_DEFINED

#define _OFF64_T_DEFINED

Definition at line 89 of file stdio.h.

◆ _OFF_T_

#define _OFF_T_

Definition at line 80 of file stdio.h.

◆ _OFF_T_DEFINED

#define _OFF_T_DEFINED

Definition at line 78 of file stdio.h.

◆ _P_tmpdir

#define _P_tmpdir   "\\"

Definition at line 45 of file stdio.h.

◆ _putc_nolock

#define _putc_nolock (   _c,
  _stream 
)    _fputc_nolock(_c,_stream)

Definition at line 1121 of file stdio.h.

◆ _putchar_nolock

#define _putchar_nolock (   _c)    _putc_nolock((_c),stdout)

Definition at line 1123 of file stdio.h.

◆ _putwc_nolock

#define _putwc_nolock (   _c,
  _stm 
)    _fputwc_nolock(_c,_stm)

Definition at line 1109 of file stdio.h.

◆ _putwchar_nolock

#define _putwchar_nolock (   _c)    _putwc_nolock((_c),stdout)

Definition at line 1125 of file stdio.h.

◆ _STDIO_DEFINED

#define _STDIO_DEFINED

Definition at line 1115 of file stdio.h.

◆ _STDSTREAM_DEFINED

#define _STDSTREAM_DEFINED

Definition at line 105 of file stdio.h.

◆ _SYS_OPEN

#define _SYS_OPEN   20

Definition at line 66 of file stdio.h.

◆ _TWO_DIGIT_EXPONENT

#define _TWO_DIGIT_EXPONENT   0x1

Definition at line 139 of file stdio.h.

◆ _USERBUF

#define _USERBUF   0x0100

Definition at line 137 of file stdio.h.

◆ _wP_tmpdir

#define _wP_tmpdir   L"\\"

Definition at line 46 of file stdio.h.

◆ _WSTDIO_DEFINED

#define _WSTDIO_DEFINED

Definition at line 1112 of file stdio.h.

◆ BUFSIZ

#define BUFSIZ   512

Definition at line 20 of file stdio.h.

◆ EOF

#define EOF   (-1)

Definition at line 24 of file stdio.h.

◆ FILENAME_MAX

#define FILENAME_MAX   260

Definition at line 64 of file stdio.h.

◆ FOPEN_MAX

#define FOPEN_MAX   20

Definition at line 65 of file stdio.h.

◆ getwc

#define getwc (   _stm)    fgetwc(_stm)

Definition at line 1107 of file stdio.h.

◆ getwchar

Definition at line 1100 of file stdio.h.

◆ L_tmpnam

#define L_tmpnam   (sizeof(_P_tmpdir) + 12)

Definition at line 49 of file stdio.h.

◆ NULL

#define NULL   ((void *)0)

Definition at line 73 of file stdio.h.

◆ P_tmpdir

#define P_tmpdir   _P_tmpdir

Definition at line 1217 of file stdio.h.

◆ putwc

#define putwc (   _c,
  _stm 
)    fputwc(_c,_stm)

Definition at line 1108 of file stdio.h.

◆ putwchar

#define putwchar (   _c)    fputwc((_c),stdout)

Definition at line 1101 of file stdio.h.

◆ SEEK_CUR

#define SEEK_CUR   1

Definition at line 56 of file stdio.h.

◆ SEEK_END

#define SEEK_END   2

Definition at line 57 of file stdio.h.

◆ SEEK_SET

#define SEEK_SET   0

Definition at line 58 of file stdio.h.

◆ snprintf

#define snprintf   _snprintf

Definition at line 710 of file stdio.h.

◆ stderr

#define stderr   (&_iob[2])

Definition at line 108 of file stdio.h.

◆ STDERR_FILENO

#define STDERR_FILENO   2

Definition at line 62 of file stdio.h.

◆ stdin

#define stdin   (&_iob[0])

Definition at line 106 of file stdio.h.

◆ STDIN_FILENO

#define STDIN_FILENO   0

Definition at line 60 of file stdio.h.

◆ stdout

#define stdout   (&_iob[1])

Definition at line 107 of file stdio.h.

◆ STDOUT_FILENO

#define STDOUT_FILENO   1

Definition at line 61 of file stdio.h.

◆ SYS_OPEN

#define SYS_OPEN   _SYS_OPEN

Definition at line 1218 of file stdio.h.

◆ TMP_MAX

#define TMP_MAX   32767

Definition at line 67 of file stdio.h.

◆ vsnprintf

#define vsnprintf   _vsnprintf

Definition at line 707 of file stdio.h.

◆ WEOF

#define WEOF   (wint_t)(0xFFFF)

Definition at line 732 of file stdio.h.

◆ wpopen

#define wpopen   _wpopen

Definition at line 1058 of file stdio.h.

Typedef Documentation

◆ _off_t

typedef long _off_t

Definition at line 81 of file stdio.h.

◆ FILE

typedef struct _iobuf FILE

Definition at line 37 of file stdio.h.

◆ off_t

typedef long off_t

Definition at line 83 of file stdio.h.

Function Documentation

◆ __iob_func()

_CRTIMP FILE* __cdecl __iob_func ( void  )

Definition at line 683 of file file.c.

684 {
685  return &_iob[0];
686 }
FILE _iob[_IOB_ENTRIES]
Definition: file.c:133

◆ _fclose_nolock()

_Check_return_opt_ _CRTIMP int __cdecl _fclose_nolock ( _Inout_ FILE _File)

◆ _fcloseall()

Definition at line 1081 of file file.c.

1082 {
1083  int num_closed = 0, i;
1084  FILE *file;
1085 
1086  LOCK_FILES();
1087  for (i = 3; i < MSVCRT_stream_idx; i++) {
1088  file = msvcrt_get_file(i);
1089 
1090  if (file->_flag && !fclose(file))
1091  num_closed++;
1092  }
1093  UNLOCK_FILES();
1094 
1095  TRACE(":closed (%d) handles\n",num_closed);
1096  return num_closed;
1097 }
static int MSVCRT_stream_idx
Definition: file.c:135
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
#define UNLOCK_FILES()
Definition: file.c:156
#define TRACE(s)
Definition: solgame.cpp:4
const char file[]
Definition: icontest.c:11
#define LOCK_FILES()
Definition: file.c:155
static FILE * msvcrt_get_file(int i)
Definition: file.c:269
int CDECL fclose(FILE *file)
Definition: file.c:2783
Definition: fci.c:126

Referenced by msvcrt_free_io(), and test_fopen_fclose_fcloseall().

◆ _fdopen()

◆ _fflush_nolock()

_Check_return_opt_ _CRTIMP int __cdecl _fflush_nolock ( _Inout_opt_ FILE _File)

◆ _fgetchar()

Definition at line 2906 of file file.c.

2907 {
2908  return fgetc(stdin);
2909 }
FILE * stdin
int CDECL fgetc(FILE *file)
Definition: file.c:2886

◆ _fgetwc_nolock()

_Check_return_opt_ _CRTIMP wint_t __cdecl _fgetwc_nolock ( _Inout_ FILE _File)

◆ _fgetwchar()

Definition at line 3027 of file file.c.

3028 {
3029  return fgetwc(stdin);
3030 }
FILE * stdin
wint_t CDECL fgetwc(FILE *file)
Definition: file.c:2946

◆ _filbuf()

_Check_return_ _CRTIMP int __cdecl _filbuf ( _Inout_ FILE _File)

◆ _fileno()

◆ _flsbuf()

_Check_return_opt_ _CRTIMP int __cdecl _flsbuf ( _In_ int  _Ch,
_Inout_ FILE _File 
)

◆ _flushall()

Definition at line 893 of file file.c.

894 {
896 }
#define _IOREAD
Definition: stdio.h:125
#define _IOWRT
Definition: stdio.h:126
static int msvcrt_flush_all_buffers(int mask)
Definition: file.c:867

Referenced by msvcrt_free_io(), test_fflush(), and wmain().

◆ _fputchar()

◆ _fputwc_nolock()

_Check_return_opt_ _CRTIMP wint_t __cdecl _fputwc_nolock ( _In_ wchar_t  _Ch,
_Inout_ FILE _File 
)

◆ _fputwchar()

◆ _fread_nolock()

_Check_return_opt_ _CRTIMP size_t __cdecl _fread_nolock ( _Out_writes_bytes_(_ElementSize *_Count) void _DstBuf,
_In_ size_t  _ElementSize,
_In_ size_t  _Count,
_Inout_ FILE _File 
)

◆ _fseek_nolock()

_Check_return_opt_ _CRTIMP int __cdecl _fseek_nolock ( _Inout_ FILE _File,
_In_ long  _Offset,
_In_ int  _Origin 
)

◆ _fseeki64()

_Check_return_opt_ __MINGW_EXTENSION _CRTIMP int __cdecl _fseeki64 ( _Inout_ FILE _File,
_In_ __int64  _Offset,
_In_ int  _Origin 
)

◆ _fseeki64_nolock()

_Check_return_opt_ __MINGW_EXTENSION _CRTIMP int __cdecl _fseeki64_nolock ( _Inout_ FILE _File,
_In_ __int64  _Offset,
_In_ int  _Origin 
)

◆ _fsopen()

_Check_return_ _CRTIMP FILE* __cdecl _fsopen ( _In_z_ const char _Filename,
_In_z_ const char _Mode,
_In_ int  _ShFlag 
)

◆ _ftell_nolock()

_Check_return_ _CRTIMP long __cdecl _ftell_nolock ( _Inout_ FILE _File)

◆ _ftelli64()

◆ _ftelli64_nolock()

◆ _fwrite_nolock()

_Check_return_opt_ _CRTIMP size_t __cdecl _fwrite_nolock ( _In_reads_bytes_(_Size *_Count) const void _DstBuf,
_In_ size_t  _Size,
_In_ size_t  _Count,
_Inout_ FILE _File 
)

◆ _get_output_format()

_Check_return_opt_ _CRTIMP unsigned int __cdecl _get_output_format ( void  )

Definition at line 2 of file ofmt_stub.c.

3 {
4  return 0;
5 }

◆ _get_printf_count_output()

_CRTIMP int __cdecl _get_printf_count_output ( void  )

Definition at line 5 of file stubs.c.

6 {
7  return n_format_enabled ? 1 : 0;
8 }
static BOOL n_format_enabled
Definition: stubs.c:3

◆ _getmaxstdio()

_Check_return_ _CRTIMP int __cdecl _getmaxstdio ( void  )

Definition at line 4026 of file file.c.

4027 {
4028  return MSVCRT_max_streams;
4029 }
static int MSVCRT_max_streams
Definition: file.c:135

◆ _getw()

◆ _getws()

_CRTIMP wchar_t* __cdecl _getws ( wchar_t _String)

Definition at line 3663 of file file.c.

3664 {
3665  wint_t cc;
3666  wchar_t* ws = buf;
3667 
3668  _lock_file(stdin);
3669  for (cc = fgetwc(stdin); cc != WEOF && cc != '\n';
3670  cc = fgetwc(stdin))
3671  {
3672  if (cc != '\r')
3673  *buf++ = (wchar_t)cc;
3674  }
3675  *buf = '\0';
3676 
3677  TRACE("got %s\n", debugstr_w(ws));
3679  return ws;
3680 }
const char * ws
Definition: skip_ws.cpp:7
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
void CDECL _unlock_file(FILE *file)
Definition: file.c:1205
FILE * stdin
#define debugstr_w
Definition: kernel32.h:32
int wint_t
Definition: _apple.h:38
#define TRACE(s)
Definition: solgame.cpp:4
void CDECL _lock_file(FILE *file)
Definition: file.c:1193
#define WEOF
Definition: conio.h:185
uint32_t cc
Definition: isohybrid.c:75
wint_t CDECL fgetwc(FILE *file)
Definition: file.c:2946
#define wchar_t
Definition: wchar.h:102

◆ _lock_file()

_CRTIMP void __cdecl _lock_file ( _Inout_ FILE _File)

◆ _pclose()

◆ _popen()

◆ _putw()

_Check_return_opt_ _CRTIMP int __cdecl _putw ( _In_ int  _Word,
_Inout_ FILE _File 
)

◆ _putws()

◆ _rmtmp()

Definition at line 2094 of file file.c.

2095 {
2096  int num_removed = 0, i;
2097  FILE *file;
2098 
2099  LOCK_FILES();
2100  for (i = 3; i < MSVCRT_stream_idx; i++) {
2101  file = msvcrt_get_file(i);
2102 
2103  if (file->_tmpfname)
2104  {
2105  fclose(file);
2106  num_removed++;
2107  }
2108  }
2109  UNLOCK_FILES();
2110 
2111  if (num_removed)
2112  TRACE(":removed (%d) temp files\n",num_removed);
2113  return num_removed;
2114 }
static int MSVCRT_stream_idx
Definition: file.c:135
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
#define UNLOCK_FILES()
Definition: file.c:156
#define TRACE(s)
Definition: solgame.cpp:4
const char file[]
Definition: icontest.c:11
#define LOCK_FILES()
Definition: file.c:155
static FILE * msvcrt_get_file(int i)
Definition: file.c:269
int CDECL fclose(FILE *file)
Definition: file.c:2783
Definition: fci.c:126

◆ _scprintf()

◆ _scwprintf()

◆ _set_output_format()

_Check_return_opt_ _CRTIMP unsigned int __cdecl _set_output_format ( _In_ unsigned int  _Format)

◆ _set_printf_count_output()

_CRTIMP int __cdecl _set_printf_count_output ( _In_ int  _Value)

◆ _setmaxstdio()

_Check_return_opt_ _CRTIMP int __cdecl _setmaxstdio ( _In_ int  _Max)

◆ _snprintf()

_CRTIMP int __cdecl _snprintf ( char _Dest,
size_t  _Count,
const char _Format,
  ... 
)

Definition at line 718 of file sprintf.c.

719 {
720  va_list args;
721  int i;
722 
723  va_start(args, fmt);
724  i=_vsnprintf(buf,cnt,fmt,args);
725  va_end(args);
726  return i;
727 }
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
int __cdecl _vsnprintf(char *buf, size_t cnt, const char *fmt, va_list args)
Definition: sprintf.c:386
Definition: match.c:390
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
#define va_end(ap)
Definition: acmsvcex.h:90
char * va_list
Definition: acmsvcex.h:78
#define va_start(ap, A)
Definition: acmsvcex.h:91
#define args
Definition: format.c:66
Definition: dsound.c:943

Referenced by test_Z().

◆ _snscanf()

◆ _snwprintf()

_CRTIMP int __cdecl _snwprintf ( wchar_t _Dest,
size_t  _Count,
const wchar_t _Format,
  ... 
)

◆ _snwscanf()

◆ _swprintf()

_CRTIMP int __cdecl _swprintf ( wchar_t _Dest,
const wchar_t _Format,
  ... 
)

◆ _swprintf_c()

_Check_return_opt_ _CRTIMP int __cdecl _swprintf_c ( _Out_writes_z_(_SizeInWords) wchar_t _DstBuf,
_In_ size_t  _SizeInWords,
_In_z_ _Printf_format_string_ const wchar_t _Format,
  ... 
)

◆ _tempnam()

_Check_return_ _CRTIMP char* __cdecl _tempnam ( _In_opt_z_ const char _DirName,
_In_opt_z_ const char _FilePrefix 
)

◆ _ungetc_nolock()

_Check_return_opt_ _CRTIMP int __cdecl _ungetc_nolock ( _In_ int  _Ch,
_Inout_ FILE _File 
)

◆ _ungetwc_nolock()

_Check_return_opt_ _CRTIMP wint_t __cdecl _ungetwc_nolock ( _In_ wint_t  _Ch,
_Inout_ FILE _File 
)

◆ _unlink()

_Check_return_ _CRTIMP int __cdecl _unlink ( _In_z_ const char _Filename)

◆ _unlock_file()

_CRTIMP void __cdecl _unlock_file ( _Inout_ FILE _File)

◆ _vscprintf()

◆ _vscwprintf()

◆ _vsnprintf()

_CRTIMP int __cdecl _vsnprintf ( char _Dest,
size_t  _Count,
const char _Format,
va_list  _Args 
)

Definition at line 386 of file sprintf.c.

387 {
388  int len;
389  unsigned long long num;
390  double _double;
391 
392  int base;
393  char *str, *end;
394  const char *s;
395  const wchar_t *sw;
396 
397  int flags; /* flags to number() */
398 
399  int field_width; /* width of output field */
400  int precision; /* min. # of digits for integers; max
401  number of chars for from string */
402  int qualifier; /* 'h', 'l', 'L', 'I' or 'w' for integer fields */
403 
404  /* clear the string buffer with zero so we do not need NULL terment it at end */
405 
406  str = buf;
407  end = buf + cnt - 1;
408  if (end < buf - 1) {
409  end = ((char *) -1);
410  cnt = end - buf + 1;
411  }
412 
413  for ( ; *fmt ; ++fmt) {
414  if (*fmt != '%') {
415  if (str <= end)
416  *str = *fmt;
417  ++str;
418  continue;
419  }
420 
421  /* process flags */
422  flags = 0;
423  repeat:
424  ++fmt; /* this also skips first '%' */
425  switch (*fmt) {
426  case '-': flags |= LEFT; goto repeat;
427  case '+': flags |= PLUS; goto repeat;
428  case ' ': flags |= SPACE; goto repeat;
429  case '#': flags |= SPECIAL; goto repeat;
430  case '0': flags |= ZEROPAD; goto repeat;
431  }
432 
433  /* get field width */
434  field_width = -1;
435  if (isdigit(*fmt))
436  field_width = skip_atoi(&fmt);
437  else if (*fmt == '*') {
438  ++fmt;
439  /* it's the next argument */
440  field_width = va_arg(args, int);
441  if (field_width < 0) {
442  field_width = -field_width;
443  flags |= LEFT;
444  }
445  }
446 
447  /* get the precision */
448  precision = -1;
449  if (*fmt == '.') {
450  ++fmt;
451  if (isdigit(*fmt))
452  precision = skip_atoi(&fmt);
453  else if (*fmt == '*') {
454  ++fmt;
455  /* it's the next argument */
456  precision = va_arg(args, int);
457  }
458  if (precision < 0)
459  precision = 0;
460  }
461 
462  /* get the conversion qualifier */
463  qualifier = -1;
464  if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' || *fmt == 'w') {
465  qualifier = *fmt;
466  ++fmt;
467  } else if (*fmt == 'I' && *(fmt+1) == '6' && *(fmt+2) == '4') {
468  qualifier = *fmt;
469  fmt += 3;
470  } else if (*fmt == 'I' && *(fmt+1) == '3' && *(fmt+2) == '2') {
471  qualifier = 'l';
472  fmt += 3;
473  } else if (*fmt == 'F' && *(fmt+1) == 'p') {
474  fmt += 1;
475  flags |= REMOVEHEX;
476  }
477 
478  /* default base */
479  base = 10;
480 
481  switch (*fmt) {
482  case 'c': /* finished */
483  if (qualifier == 'l' || qualifier == 'w') {
484  wchar_t sw1[2];
485  /* print unicode string */
486  sw1[0] = (wchar_t) va_arg(args, int);
487  sw1[1] = 0;
488  str = stringw(str, end, (wchar_t *)&sw1, -1, field_width, precision, flags);
489  } else {
490  char s1[2];
491  /* print ascii string */
492  s1[0] = ( unsigned char) va_arg(args, int);
493  s1[1] = 0;
494  str = string(str, end, (char *)&s1, -1, field_width, precision, flags);
495  }
496  continue;
497 
498  case 'C': /* finished */
499  if (!(flags & LEFT))
500  while (--field_width > 0) {
501  if (str <= end)
502  *str = ' ';
503  ++str;
504  }
505  if (qualifier == 'h') {
506  if (str <= end)
507  *str = (unsigned char) va_arg(args, int);
508  ++str;
509  } else {
510  if (str <= end)
511  *str = (unsigned char)(wchar_t) va_arg(args, int);
512  ++str;
513  }
514  while (--field_width > 0) {
515  if (str <= end)
516  *str = ' ';
517  ++str;
518  }
519  continue;
520 
521  case 's': /* finished */
522  if (qualifier == 'l' || qualifier == 'w') {
523  /* print unicode string */
524  sw = va_arg(args, wchar_t *);
525  str = stringw(str, end, sw, -1, field_width, precision, flags);
526  } else {
527  /* print ascii string */
528  s = va_arg(args, char *);
529  str = string(str, end, s, -1, field_width, precision, flags);
530  }
531  continue;
532 
533  case 'S':
534  if (qualifier == 'h') {
535  /* print ascii string */
536  s = va_arg(args, char *);
537  str = string(str, end, s, -1, field_width, precision, flags);
538  } else {
539  /* print unicode string */
540  sw = va_arg(args, wchar_t *);
541  str = stringw(str, end, sw, -1, field_width, precision, flags);
542  }
543  continue;
544 
545  case 'Z':
546  if (qualifier == 'w') {
547  /* print counted unicode string */
549  if ((pus == NULL) || (pus->Buffer == NULL)) {
550  sw = NULL;
551  len = -1;
552  } else {
553  sw = pus->Buffer;
554  len = pus->Length / sizeof(WCHAR);
555  }
556  str = stringw(str, end, sw, len, field_width, precision, flags);
557  } else {
558  /* print counted ascii string */
560  if ((pus == NULL) || (pus->Buffer == NULL)) {
561  s = NULL;
562  len = -1;
563  } else {
564  s = pus->Buffer;
565  len = pus->Length;
566  }
567  str = string(str, end, s, len, field_width, precision, flags);
568  }
569  continue;
570 
571  case 'p':
572  if ((flags & LARGE) == 0)
573  flags |= LARGE;
574 
575  if (field_width == -1) {
576  field_width = 2 * sizeof(void *);
577  flags |= ZEROPAD;
578  }
579  str = number(str, end,
580  (ULONG_PTR) va_arg(args, void *), 16,
581  field_width, precision, flags);
582  continue;
583 
584  case 'n':
585  /* FIXME: What does C99 say about the overflow case here? */
586  if (qualifier == 'l') {
587  long * ip = va_arg(args, long *);
588  *ip = (str - buf);
589  } else {
590  int * ip = va_arg(args, int *);
591  *ip = (str - buf);
592  }
593  continue;
594 
595  /* float number formats - set up the flags and "break" */
596  case 'e':
597  case 'E':
598  case 'f':
599  case 'g':
600  case 'G':
601  _double = (double)va_arg(args, double);
602  if ( _isnan(_double) ) {
603  s = "Nan";
604  len = 3;
605  while ( len > 0 ) {
606  if (str <= end)
607  *str = *s++;
608  ++str;
609  len --;
610  }
611  } else if ( _isinf(_double) < 0 ) {
612  s = "-Inf";
613  len = 4;
614  while ( len > 0 ) {
615  if (str <= end)
616  *str = *s++;
617  ++str;
618  len --;
619  }
620  } else if ( _isinf(_double) > 0 ) {
621  s = "+Inf";
622  len = 4;
623  while ( len > 0 ) {
624  if (str <= end)
625  *str = *s++;
626  ++str;
627  len --;
628  }
629  } else {
630  if ( precision == -1 )
631  precision = 6;
632  str = numberf(str, end, (int)_double, base, field_width, precision, flags);
633  }
634 
635  continue;
636 
637 
638  /* integer number formats - set up the flags and "break" */
639  case 'o':
640  base = 8;
641  break;
642 
643  case 'b':
644  base = 2;
645  break;
646 
647  case 'X':
648  flags |= LARGE;
649  case 'x':
650  base = 16;
651  break;
652 
653  case 'd':
654  case 'i':
655  flags |= SIGN;
656  case 'u':
657  break;
658 
659  default:
660  if (*fmt) {
661  if (str <= end)
662  *str = *fmt;
663  ++str;
664  } else
665  --fmt;
666  continue;
667  }
668 
669  if (qualifier == 'I')
670  num = va_arg(args, unsigned long long);
671  else if (qualifier == 'l') {
672  if (flags & SIGN)
673  num = va_arg(args, long);
674  else
675  num = va_arg(args, unsigned long);
676  }
677  else if (qualifier == 'h') {
678  if (flags & SIGN)
679  num = va_arg(args, int);
680  else
681  num = va_arg(args, unsigned int);
682  }
683  else {
684  if (flags & SIGN)
685  num = va_arg(args, int);
686  else
687  num = va_arg(args, unsigned int);
688  }
689  str = number(str, end, num, base, field_width, precision, flags);
690  }
691  if (str <= end)
692  *str = '\0';
693  else if (cnt > 0)
694  /* don't write out a null byte if the buf size is zero */
695  *end = '\0';
696  return str-buf;
697 }
#define LEFT
Definition: sprintf.c:26
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
#define SPECIAL
Definition: sprintf.c:27
const char * fmt
Definition: wsprintf.c:30
GLuint GLuint end
Definition: gl.h:1545
static int skip_atoi(const char **s)
Definition: sprintf.c:79
Definition: match.c:390
uint32_t ULONG_PTR
Definition: typedefs.h:63
#define PLUS
Definition: sprintf.c:24
static char * string(char *buf, char *end, const char *s, int len, int field_width, int precision, int flags)
Definition: sprintf.c:286
GLuint base
Definition: 3dtext.c:35
static const char mbstate_t *static wchar_t const char mbstate_t *static const wchar_t int *static double
Definition: string.c:80
const WCHAR * str
smooth NULL
Definition: ftsmooth.c:416
static APTTYPEQUALIFIER * qualifier
Definition: compobj.c:74
unsigned char
Definition: typeof.h:29
#define ZEROPAD
Definition: sprintf.c:22
#define isdigit(c)
Definition: acclib.h:68
GLenum GLint GLint * precision
Definition: glext.h:7539
Definition: dhcpd.h:61
__wchar_t WCHAR
Definition: xmlstorage.h:180
struct S1 s1
GLuint GLuint num
Definition: glext.h:9618
GLbitfield flags
Definition: glext.h:7161
#define LARGE
Definition: sprintf.c:28
GLenum GLsizei len
Definition: glext.h:6722
GLdouble s
Definition: gl.h:2039
#define REMOVEHEX
Definition: sprintf.c:29
static __inline int _isinf(double __x)
Definition: sprintf.c:40
static int repeat
Definition: xmllint.c:143
static __inline int _isnan(double __x)
Definition: sprintf.c:55
static char * numberf(char *buf, char *end, double num, int base, int size, int precision, int type)
Definition: sprintf.c:183
#define va_arg(ap, T)
Definition: acmsvcex.h:89
#define SPACE
Definition: sprintf.c:25
static char * number(char *buf, char *end, long long num, int base, int size, int precision, int type)
Definition: sprintf.c:90
#define wchar_t
Definition: wchar.h:102
static char * stringw(char *buf, char *end, const wchar_t *sw, int len, int field_width, int precision, int flags)
Definition: sprintf.c:335
#define SIGN
Definition: sprintf.c:23
Definition: dsound.c:943

Referenced by _snprintf(), sprintf(), and vsprintf().

◆ _vsnwprintf()

◆ _vswprintf()

_CRTIMP int __cdecl _vswprintf ( wchar_t _Dest,
const wchar_t _Format,
va_list  _Args 
)

◆ _vswprintf_c()

_Check_return_opt_ _CRTIMP int __cdecl _vswprintf_c ( _Out_writes_z_(_SizeInWords) wchar_t _DstBuf,
_In_ size_t  _SizeInWords,
_In_z_ _Printf_format_string_ const wchar_t _Format,
va_list  _ArgList 
)

◆ _wfdopen()

_Check_return_ _CRTIMP FILE* __cdecl _wfdopen ( _In_ int  _FileHandle,
_In_z_ const wchar_t _Mode 
)

◆ _wfopen()

◆ _wfreopen()

_Check_return_ _CRTIMP FILE* __cdecl _wfreopen ( _In_z_ const wchar_t _Filename,
_In_z_ const wchar_t _Mode,
_Inout_ FILE _OldFile 
)

Referenced by DllMain().

◆ _wfsopen()

_Check_return_ _CRTIMP FILE* __cdecl _wfsopen ( _In_z_ const wchar_t _Filename,
_In_z_ const wchar_t _Mode,
_In_ int  _ShFlag 
)

Referenced by LoadIniFile(), and WriteIniFile().

◆ _wperror()

_CRTIMP void __cdecl _wperror ( _In_opt_z_ const wchar_t _ErrMsg)

Referenced by ReadFromFile().

◆ _wpopen()

_Check_return_ _CRTIMP FILE* __cdecl _wpopen ( _In_z_ const wchar_t _Command,
_In_z_ const wchar_t _Mode 
)

◆ _wremove()

_Check_return_ _CRTIMP int __cdecl _wremove ( _In_z_ const wchar_t _Filename)

◆ _wtempnam()

_Check_return_ _CRTIMP wchar_t* __cdecl _wtempnam ( _In_opt_z_ const wchar_t _Directory,
_In_opt_z_ const wchar_t _FilePrefix 
)

◆ _wtmpnam()

◆ clearerr()

_CRTIMP void __cdecl clearerr ( _Inout_ FILE _File)

Referenced by read_mbr_template().

◆ fclose()

Referenced by __CloseHandle(), _Filebuf_base::_M_close(), _pclose(), abort(), CCabinet::AddFile(), bsClose(), BZ2_bzclose(), bzopen_or_bzdopen(), check_atari(), check_bitmap_data(), check_file_size(), check_for_files(), CheckForNewV3User(), cleanReq(), cleanUpAndFail(), File::close(), CCabinet::Close(), close_backing_store(), close_file(), close_log_files(), close_merge_image(), CloseBookmarkFile(), CloseF(), CloseFile(), CloseTrace(), CCabinet::CommitDisk(), compare_export_(), compat_fclose(), compress(), compressStream(), config_load(), copyfont(), create_cache(), create_nls_file(), create_output_file(), create_sic(), CreateCaseDiff(), CreateSpecFile(), DbgHelpAddLineNumber(), CCFDATAStorage::Destroy(), disk_cleanup(), DllMain(), do_import(), do_update_base(), DoEntry(), DoParsing(), DosBIOSInitialize(), EndLog(), endnetconfig(), endrpcent(), errconfig(), error_exit(), export_registry_key(), ExportBinaryHive(), extract_test(), CCabinet::ExtractFile(), fclose_file_func(), figurefiletype(), file_exists(), fileClient(), fileExists(), ForF(), gen_add_list(), Generate(), generate_xa_rr_attributes(), get_ImageBase(), get_list_blocks(), get_subtests(), getICMPStats(), getnetconfigent(), getnetid(), GetOurHostName(), getpublicandprivatekey(), getSection(), gl_check_inputrc_for_vi(), gl_histloadfile(), gl_histsavefile(), import_certs_from_file(), ImportRegistryFile(), InfHostOpenFile(), InfHostWriteFile(), init(), init_leases_list(), init_logger_addr(), TScript::initScript(), kbd_c(), kbd_def(), kbd_h(), kbd_rc(), CDFParser::Load(), Load_CP2Unicode_Table(), load_file(), Load_OEM2Unicode_Table(), LoadBootIni(), loadFile(), LoadFile(), tinyxml2::XMLDocument::LoadFile(), LoadFirewallPrefs(), LoadIniFile(), LoadPrefs(), LoadSystemIni(), log_file(), logMess(), logmsg(), LogOpen(), LogXfer(), main(), MainWndProc(), myClose(), nls_from_txt(), OpenBookmarkFile(), openSection(), OpenTmpBookmarkFile(), parse_switches(), parseAndPrintFile(), TANSIParser::ParseEscapeANSI(), pass(), PerformRegAction(), pop_import(), TANSIParser::PrintBuffer(), processRequest(), PutBookmark(), read_cache(), read_file(), read_input_file(), read_JPEG_file(), read_mbr_template(), read_quant_tables(), read_rcfile(), readAllPolygons(), readconfig(), ReadFromFile(), readSection(), recvrequest(), reg_import(), regscan(), remglob(), RunBookmarkEditor(), RunScript(), ruserpass(), saveFile(), tinyxml2::XMLDocument::SaveFile(), SavePrefs(), SdbCloseDatabase(), select_file_name(), send_file(), sendrequest(), ServiceMain(), set_LogFile(), CCabinet::SetCabinetReservedFile(), SpoolX(), START_TEST(), switch_to_acf(), FstreamTest::tellp(), test___getmainargs(), test___getmainargs_parent(), test_file_truncate(), test_fprintf(), test_searchenv(), testStream(), CCFDATAStorage::Truncate(), txt_get_glyph_table(), txt_get_header(), txt_get_mb_table(), txt_get_wc_table(), uncompress(), uncompressStream(), unpack_iso(), updateSvnlog(), verify_output_file(), wmain(), wpp_default_close(), write_casemap_file(), write_client(), write_dlldata(), write_dlldata_list(), write_header(), write_id_data(), write_if_change(), write_JPEG_file(), write_local_stubs(), write_one_file(), write_proxies(), write_regscript(), write_server(), directedLine::writeAllPolygons(), CCabinet::WriteFileToScratchStorage(), WriteIniFile(), XCOPY_ProcessExcludeFile(), xkeymap_from_locale(), xkeymap_read(), xmlMemDisplay(), xmlMemDisplayLast(), xmlMemoryDump(), xsltDocumentElem(), CDFParser::~CDFParser(), FileReporter::~FileReporter(), and TANSIParser::~TANSIParser().

◆ fcloseall()

◆ fdopen()

◆ feof()

◆ ferror()

◆ fflush()

Referenced by alarm_intr(), bsClose(), BZ2_bzWriteClose64(), cd(), cdup(), check_blocks(), cmdabort(), cmdscanner(), CmpFileFlush(), command(), compress(), compressStream(), confirm(), dataconn(), delete(), disk_ioctl(), do_chmod(), domacro(), domap(), doproxy(), dprintf(), eprintf(), Error(), fsetmode(), get_key(), GetCmd(), getit(), GetPass(), getreply(), globulize(), help(), hookup(), initconn(), InputChar(), InteractiveConsole(), lcd(), LocalListCmd(), log_debug(), log_hexdump(), login(), logMess(), ls(), macdef(), main(), makedir(), mdelete(), mget(), mls(), modtime(), MonitorChildThread(), mput(), NcFTPConfirmResumeDownloadProc(), NcFTPConfirmResumeUploadProc(), newer(), OpenMsg(), OpenPager(), stdio_ostreambuf::overflow(), PrintF(), PrintStartupBanner(), PromptForBookmarkName(), proxtrans(), PrPhilBar(), PrStatBar(), ptransfer(), put(), PutCmd(), pwd(), query_done(), quote(), recvrequest(), remglob(), removedir(), rename_file(), renamefile(), restart(), rewrite_client_leases(), SaveCurrentAsBookmark(), SaveUnsavedBookmark(), sendrequest(), SendTelnetInterrupt(), serial_create(), setbell(), setcase(), setcr(), setdebug(), setform(), setglob(), sethash(), setnmap(), setntrans(), setpassive(), setpeer(), setport(), setprompt(), setrunique(), setstruct(), setsunique(), settrace(), settype(), setverbose(), shell(), site(), sizecmd(), START_TEST(), status(), stdio_streambuf_base::sync(), testf(), uncompress(), uncompressStream(), usage(), user(), wintirpc_debug(), write_client_lease(), write_one_file(), WriteBmLine(), xdrstdio_destroy(), FileReporter::~FileReporter(), and stdio_streambuf_base::~stdio_streambuf_base().

◆ fgetc()

◆ fgetchar()

◆ fgetpos()

_Check_return_opt_ _CRTIMP int __cdecl fgetpos ( _Inout_ FILE _File,
_Out_ fpos_t _Pos 
)

◆ fgets()

◆ fgetwc()

◆ fgetws()

_Check_return_opt_ _CRTIMP wchar_t* __cdecl fgetws ( _Out_writes_z_(_SizeInWords) wchar_t _Dst,
_In_ int  _SizeInWords,
_Inout_ FILE _File 
)

◆ fileno()

◆ flushall()

◆ fopen()

_Check_return_ _CRTIMP FILE* __cdecl fopen ( _In_z_ const char _Filename,
_In_z_ const char _Mode 
)

Referenced by CCabinet::AddFile(), bzopen_or_bzdopen(), tinyxml2::callfopen(), check_atari(), check_bitmap_data(), check_for_files(), CheckForNewV3User(), CCabinet::CommitDisk(), compare_export_(), compat_fopen(), compress(), config_load(), copyfont(), CCFDATAStorage::Create(), create_cache(), create_nls_file(), CreateCaseDiff(), DbgHelpAddLineNumber(), disk_openimage(), do_import(), DoEntry(), EndLog(), ExportBinaryHive(), extract_test(), CCabinet::ExtractFile(), figurefiletype(), file_exists(), fileClient(), fileExists(), FileReporter::FileReporter(), fopen_file_func(), fopen_output_safely(), gen_add_list(), Generate(), generate_xa_rr_attributes(), get_ImageBase(), get_list_blocks(), get_subtests(), getICMPStats(), getnetconfigent(), getnetid(), GetOurHostName(), getpublicandprivatekey(), getrpcent(), getSection(), gl_check_inputrc_for_vi(), gl_histloadfile(), gl_histsavefile(), InfHostOpenFile(), InfHostWriteFile(), init(), init_client(), init_leases_list(), init_logger_addr(), init_proxy(), init_server(), TScript::initScript(), jpeg_open_backing_store(), kbd_c(), kbd_def(), kbd_h(), kbd_rc(), CDFParser::Load(), Load_CP2Unicode_Table(), load_file(), Load_OEM2Unicode_Table(), loadFile(), LoadFile(), LoadFirewallPrefs(), LoadPrefs(), log_file(), logMess(), logmsg(), LogOpen(), LogXfer(), main(), MainWndProc(), nls_from_txt(), File::open(), CCabinet::Open(), open_log_files(), open_merge_image(), OpenBookmarkFile(), OpenF(), openSection(), OpenTmpBookmarkFile(), OpenTrace(), parse_switches(), parseAndPrintFile(), TANSIParser::ParseEscapeANSI(), pass(), pfopen(), processRequest(), read_cache(), read_file(), read_input_file(), read_JPEG_file(), read_mbr_template(), read_quant_tables(), read_rcfile(), readAllPolygons(), readconfig(), recvrequest(), REGPROC_open_export_file(), regscan(), remglob(), rewrite_client_leases(), RunBookmarkEditor(), ruserpass(), saveFile(), SavePrefs(), SdbpCreate(), select_file_name(), send_file(), sendrequest(), set_LogFile(), CCabinet::SetCabinetReservedFile(), setnetconfig(), setrpcent(), SpoolX(), START_TEST(), switch_to_acf(), TANSIParser::TANSIParser(), FstreamTest::tellp(), test___getmainargs(), test___getmainargs_parent(), test_fprintf(), test_searchenv(), testf(), txt_get_glyph_table(), txt_get_header(), txt_get_mb_table(), txt_get_wc_table(), uncompress(), unpack_iso(), updateSvnlog(), wintirpc_debug(), wpp_default_open(), write_casemap_file(), write_client_lease(), write_dlldata(), write_dlldata_list(), write_header(), write_id_data(), write_if_change(), write_JPEG_file(), write_local_stubs(), write_one_file(), write_regscript(), directedLine::writeAllPolygons(), CCabinet::WriteFileToScratchStorage(), CDFParser::WriteInfLine(), xkeymap_open(), xmlMemDisplay(), xmlMemDisplayLast(), xmlMemoryDump(), and xsltDocumentElem().

◆ fprintf()

_Check_return_opt_ _CRTIMP int __cdecl fprintf ( _Inout_ FILE _File,
_In_z_ _Printf_format_string_ const char _Format,
  ... 
)

Referenced by __report_error(), __rpc_broadenable(), __rpcb_findaddr_timed(), __xprt_do_unregister(), _amsg_exit(), _assert(), _chm_decompress_block(), _getgroups(), _getopt_internal(), _svcauth_gss(), _TIFFPrettyPrintField(), _TIFFprintAsciiBounded(), _TIFFprintAsciiTag(), _TIFFPrintField(), _TIFFPrintFieldInfo(), _vwarnx(), aargh(), abort(), add_cache(), add_expand_text(), add_hash(), adns__vdiag(), adnsfail(), arg_get_long(), arg_get_utf8(), assign_file_addresses(), assign_stub_out_args(), attributeDeclDebug(), authgss_create(), authgss_create_default(), authgss_destroy(), authgss_validate(), BackToTop(), bezierPatchMeshMake(), bezierPatchMeshNumTriangles(), bezierPatchMeshPutPatch(), buffered_fullread(), build_huffman_tree(), build_tree(), byte_till_end(), BZ2_bz__AssertH__fail(), cadvise(), cdataBlockDebug(), charactersDebug(), chat(), check_cache(), check_entropy(), check_for_files(), check_lame_tag(), CheckForNewV3User(), checkRecv(), CheckTestFile(), chmc_add_entry(), chmc_crunch_lzx(), chmc_section_create(), cleanUpAndFail(), clear_output_vars(), ClickProc(), clnt_cb_thread(), clnt_pcreateerror(), clnt_perrno(), clnt_perror(), clnt_vc_create(), clnt_vc_destroy(), CloseTrace(), CommandShell(), commentDebug(), compress(), compressedStreamEOF(), compressStream(), configError(), configparseerr(), ConvertCoffs(), convertHexCSVToHex(), convertHexToDWord(), ConvertStabs(), copyFileName(), copyfont(), crcError(), create_cache(), CreateOutputFile(), CreateSpecFile(), CreateTestDir(), CreateTestFile(), directedLine::cutoffPolygon(), dataconn(), DBG_check(), DbgHelpAddLineNumber(), DbgHelpAddStringToTable(), debug_error(), declare_stub_args(), decode_header(), decode_the_frame(), decodeA(), delete_registry_key(), die(), disk_enum_devices(), display_dhcp_packet(), do_layer2(), do_rva(), do_test(), do_write_c_method_def(), DoDllRegisterServer(), DoDllUnregisterServer(), DoRegServer(), DoService(), DoUnregServer(), dprintf(), dump_tree(), dump_var_desc(), DumpCharacterFontData(), DumpFont(), dumpHex(), dumpStr(), dumptype(), DwExecIntruction(), elementDeclDebug(), encodeA(), FileReporter::end(), end_cplusplus_guard(), endDocumentDebug(), endElementDebug(), endElementNsDebug(), OpenGLSurfaceEvaluator::endmap2f(), endnetpath(), entityDeclDebug(), eprintf(), FileReporter::error(), Error(), error(), ErrorExit(), ErrorHook(), Slicer::evalStream(), ewmh_get_window_desktop(), ExecuteKill(), ExecuteTest(), expand_define(), expand_macro(), expand_special(), export_hkey(), export_registry_key(), externalSubsetDebug(), failure_errno(), failure_status(), fatal_error(), figurefiletype(), file_write(), fileClient(), fill_boot_desc(), find_lease(), find_match_at(), find_or_create_directory(), FindFonts(), fputcSocket(), fputSocket(), frame_buffercheck(), frame_cpu_opt(), free_variable(), fs_flush(), FTC_MruNode_Prepend(), FTC_MruNode_Remove(), FTC_MruNode_Up(), FTPPerror(), gen_proxy(), gen_stub(), gen_stub_thunk(), Generate(), generate_one_directory(), generate_xa_rr_attributes(), generic_msg(), get_current_desktop(), get_current_workarea(), get_property_value(), getbits(), getclnthandle(), GetCmd(), getEntityDebug(), GetExportsFromFile(), getnetconfig(), getnetconfigent(), getnetid(), Getopt(), getopt(), getpacket(), getParameterEntityDebug(), getpublicandprivatekey(), gl_histsavefile(), gluNurbsSurface(), hasExternalSubsetDebug(), hasInternalSubsetDebug(), help(), HexDump(), hookup(), ignorableWhitespaceDebug(), III_get_side_info(), indent(), init_begin(), init_finish(), init_server(), InitConnectionInfo(), InitUserInfo(), insert_file_entry(), internalSubsetDebug(), ioError(), iso_connect(), isohybrid_error(), isohybrid_warning(), isStandaloneDebug(), Jobs(), kbd_c(), kbd_def(), kbd_h(), kbd_rc(), lhash_val_of_name_sys(), LIBXML_ATTR_FORMAT(), license(), ListCmd(), LoadProc(), LocalChdirCmd(), LocalListCmd(), log_debug(), log_hexdump(), login(), logMess(), LogOpen(), LogXfer(), Ls(), Ls1(), LsC(), LsL(), lz_analyze_block(), lz_compress(), lzx_compress_block(), lzx_output_literal(), lzx_output_match(), lzx_write_bits(), lzx_write_compressed_literals(), lzx_write_compressed_tree(), macro_add_arg(), macro_add_expansion(), main(), make_listening_socket(), MakeArgv(), mallocFail(), MC_sweepY(), merge_remaining_entries(), MergeStabsAndCoffs(), FileReporter::message(), MlsCmd(), mpg123_fmt(), mpg123_fmt_all(), mpg123_fmt_none(), msg(), msg_spy_find_next_msg(), mySignalCatcher(), mySIGSEGVorSIGBUScatcher(), names_dump(), nanox_event(), nc_perror(), netfinger(), next_marker(), normalize(), notationDeclDebug(), OnCreate(), OOM(), OpenBookmarkFile(), OpenCmd(), OpenMsg(), OpenTmpBookmarkFile(), OpenTrace(), out_params(), OutOfMemory(), outOfMemory(), output_message(), Output_stublabel(), OutputError(), OutputHeader_asmstub(), OutputHeader_def(), OutputHeader_stub(), OutputLine_asmstub(), OutputLine_def(), OutputLine_def_GCC(), OutputLine_def_MS(), OutputLine_stub(), pad(), PageCmd(), panic(), parse_arguments(), parse_cmdlineargs(), parse_dhcp_options(), parse_new_id3(), parse_switches(), parseAndPrintFile(), ParseFile(), parsePath(), ParsePEHeaders(), pdie(), pipeClient(), pipeServer(), PlotCharacter(), pop_buffer(), pp_add_macro(), pp_do_include(), pp_internal_error(), pp_pop_if(), pp_push_if(), PredictorPrintDir(), PreInit(), print(), print_access_mask(), print_condwait_status(), print_create_attributes(), print_disconnect_reason(), print_disposition(), print_dnsfail(), print_error(), print_file_id_both_dir_info(), print_hexbuf(), print_hexbuf_no_asci(), print_phase_basetype(), print_rpc_gss_sec(), print_share_mode(), print_sr_status_flags(), print_text_marker(), PrintHosts(), printline(), PrintName(), PrintNameTable(), printopts(), PrintStartupBanner(), FileReporter::printSummary(), PrintUsage(), process_comment(), process_data(), process_dhcp_packet(), process_extra(), process_file(), process_picture(), RequestHandler::process_request(), process_text(), processingInstructionDebug(), processRegEntry(), processRegLinesA(), ProcessRelocations(), processSetValue(), proclog(), FileReporter::progress(), promote_framename(), proxy_free_variables(), PrPhilBar(), PrSizeAndRateMeter(), PrStatBar(), PutBookmark(), PutCmd(), rdp2vnc_connect(), rdpsnd_process_negotiate(), read_frame(), read_header_file(), read_JPEG_file(), read_merging_directory(), read_password(), read_quant_tables(), read_rcfile(), read_stdin(), readError(), recvrequest(), redundant(), referenceDebug(), registerNode(), REGPROC_open_export_file(), REGPROC_print_error(), REGPROC_unescape_string(), release_lease(), resolveEntityDebug(), rpc_broadcast_exp(), WriterThread::Run(), RunBatch(), RunBookmarkEditor(), ruserpass(), SaveCurrentAsBookmark(), SavePrefs(), scan_directory_tree(), search_tree_file(), select_transform(), sendrequest(), SendTelnetInterrupt(), ServeOneClient(), Server(), ServiceCtrlHandler(), ServiceMain(), set_quant_slots(), set_sample_factors(), SetAnonPass(), SetAutoAscii(), SetAutoResume(), SetAutoSaveChangesToExistingBookmarks(), SetConfirmClose(), SetConnTimeout(), SetCtrlTimeout(), setDocumentLocatorDebug(), SetLogSize(), SetNoAds(), SetOneTimeMessages(), SetPager(), SetPassive(), SetRedialDelay(), SetSavePasswords(), SetSOBufsize(), SetStartupURL(), setup_tables(), setValue(), SetXferTimeout(), SetXtermTitle(), SetXtTitle(), showFileNames(), showVersion(), sic_list(), skip_junk(), sort_n_finish(), SpoolGetCmd(), SpoolPutCmd(), SpoolX(), start_cplusplus_guard(), START_TEST(), startDocumentDebug(), startElementDebug(), startElementNsDebug(), StartServiceThread(), sunboot_write(), susage(), svc_getreqset(), svcauth_gss_accept_sec_context(), sweepY(), synth_ntom_set_step(), sysfail(), TCPFree(), TCPMalloc(), test_decodeNameConstraints(), test_fprintf(), testf(), testSAX(), testStream(), textAsk(), textDelta(), textStep(), TIFFPrintDirectory(), TIM_SORT_RESIZE(), tooManyBlocks(), Trace(), try_query_param(), try_start_stop(), tx_compress_dxtn(), ui_create_window(), ui_draw_text(), uncompress(), uncompressStream(), unimpl(), unixErrorHandler(), unixWarningHandler(), unparsedEntityDeclDebug(), UpdateSCMStatus(), RequestHandler::urldec(), usage(), Usage(), usageerr(), user(), userlist(), verr(), verrx(), vwarn(), vwarnx(), WaitForConnect(), warning(), wave_out_close(), wave_out_open(), wave_out_set_format(), wave_out_volume(), wave_out_write(), wetwork(), Win32ErrorHandler(), Win32WarningHandler(), WindowThreadProc(), WinMain(), wmain(), write_args(), write_client_call_routine(), write_client_func_decl(), write_client_ifaces(), write_client_lease(), write_client_routines(), write_clientinterfacedecl(), write_coclass(), write_coclass_forward(), write_com_interface_end(), write_com_interface_start(), write_context_handle_rundowns(), write_cpp_method_def(), write_declaration(), write_dispatchtable(), write_dlldata_list(), write_endpoints(), write_enums(), write_exceptions(), write_expr(), write_expr_eval_routine_list(), write_expr_eval_routines(), write_fields(), write_files(), write_formatstringsdecl(), write_forward(), write_full_pointer_free(), write_full_pointer_init(), write_func_param_struct(), write_function_proto(), write_function_stub(), write_generic_handle_routines(), write_guid(), write_header(), write_header_stmts(), write_id_data(), write_id_guid(), write_if_change(), write_implicithandledecl(), write_import(), write_inline_wrappers(), write_ip_tfs(), write_JPEG_file(), write_library(), write_line(), write_local_stubs(), write_locals(), write_method_macro(), write_method_proto(), write_nonsimple_pointer(), write_one_file(), write_packet(), write_parameter_conf_or_var_exprs(), write_parameters_init(), write_pointer_left(), write_proxy(), write_proxy_routines(), write_remoting_arg(), write_rpc_interface_end(), write_rpc_interface_start(), write_serialize_function(), write_server_stmts(), write_serverinterfacedecl(), write_stdout(), write_stub_methods(), write_stubdescdecl(), write_stubdescriptor(), write_type_definition(), write_type_left(), write_type_right(), write_type_v(), write_typedef(), write_user_quad_list(), write_user_types(), write_uuid_decl(), directedLine::writeAllPolygons(), WriteBmLine(), WriteDefaultFirewallPrefs(), writeError(), WriteTable(), xmlCheckVersion(), xmlDictAddQString(), xmlDictAddString(), xmlDictCreate(), xmlDictCreateSub(), xmlDictGrow(), xmlInitializeGlobalState(), xmllintExternalEntityLoader(), xmlMemDisplay(), xmlMemDisplayLast(), xmlMemShow(), xmlPrintURI(), xprt_register(), xsltDebugDumpExtensions(), xsltDebugDumpExtensionsCallback(), xsltDebugDumpExtModulesCallback(), xsltInitAllDocKeys(), xsltInitCtxtKey(), xsltInitCtxtKeys(), xsltInitDocKeyTable(), xsltPatPushState(), xsltSaveProfiling(), xsltTestCompMatch(), yy_fatal_error(), and yyparse().

◆ fputc()

◆ fputchar()

◆ fputs()

◆ fputwc()

Referenced by ConWrite(), and main().

◆ fputws()

_Check_return_opt_ _CRTIMP int __cdecl fputws ( _In_z_ const wchar_t _Str,
_Inout_ FILE _File 
)

Referenced by WriteIniFile().

◆ fread()

◆ freopen()

_Check_return_ _CRTIMP FILE* __cdecl freopen ( _In_z_ const char _Filename,
_In_z_ const char _Mode,
_Inout_ FILE _File 
)

Referenced by main(), and xfwrite().

◆ fscanf()

◆ fseek()

◆ fsetpos()

_Check_return_opt_ _CRTIMP int __cdecl fsetpos ( _Inout_ FILE _File,
_In_ const fpos_t _Pos 
)

◆ ftell()

◆ fwprintf()

◆ fwrite()

◆ fwscanf()

_Check_return_ _CRTIMP int __cdecl fwscanf ( _Inout_ FILE _File,
_In_z_ _Scanf_format_string_ const wchar_t _Format,
  ... 
)

◆ getc()

◆ getchar()

Definition at line 3627 of file file.c.

3628 {
3629  return fgetc(stdin);
3630 }
FILE * stdin
int CDECL fgetc(FILE *file)
Definition: file.c:2886

Referenced by FSE_normalizeCount(), get_key(), macdef(), Main(), main(), and printWindowsError().

◆ gets()

_CRTIMP char* __cdecl gets ( char _Buffer)

Definition at line 3643 of file file.c.

3644 {
3645  int cc;
3646  char * buf_start = buf;
3647 
3648  _lock_file(stdin);
3649  for(cc = fgetc(stdin); cc != EOF && cc != '\n';
3650  cc = fgetc(stdin))
3651  if(cc != '\r') *buf++ = (char)cc;
3652 
3653  *buf = '\0';
3654 
3655  TRACE("got '%s'\n", buf_start);
3657  return buf_start;
3658 }
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
void CDECL _unlock_file(FILE *file)
Definition: file.c:1205
FILE * stdin
unsigned char
Definition: typeof.h:29
#define TRACE(s)
Definition: solgame.cpp:4
void CDECL _lock_file(FILE *file)
Definition: file.c:1193
uint32_t cc
Definition: isohybrid.c:75
#define EOF
Definition: stdio.h:24
int CDECL fgetc(FILE *file)
Definition: file.c:2886

Referenced by cd(), cmdscanner(), confirm(), delete(), do_chmod(), domacro(), doproxy(), getit(), macdef(), main(), makedir(), mdelete(), mget(), mls(), modtime(), mput(), put(), quote(), removedir(), renamefile(), setnmap(), setpeer(), site(), sizecmd(), and user().

◆ getw()

◆ getwc()

◆ perror()

◆ printf()

◆ putc()

◆ putchar()

◆ puts()

◆ putw()

_Check_return_opt_ _CRTIMP int __cdecl putw ( _In_ int  _Ch,
_Inout_ FILE _File 
)

◆ putwc()

◆ putwchar()

◆ remove()

_Check_return_ _CRTIMP int __cdecl remove ( _In_z_ const char _Filename)

◆ rename()

_Check_return_ _CRTIMP int __cdecl rename ( _In_z_ const char _OldFilename,
_In_z_ const char _NewFilename 
)

◆ rewind()

◆ rmtmp()

◆ scanf()

Referenced by _tmain(), and main().

◆ setbuf()

◆ setvbuf()

◆ snprintf()

int __cdecl snprintf ( char s,
size_t  n,
const char format,
  ... 
)

◆ snwprintf()

_CRTIMP int __cdecl snwprintf ( wchar_t s,
size_t  n,
const wchar_t format,
  ... 
)

◆ sprintf()

int __cdecl sprintf ( char _Dest,
const char _Format,
  ... 
)

Definition at line 762 of file utprint.c.

766 {
767  va_list Args;
768  int Length;
769 
770 
771  va_start (Args, Format);
773  va_end (Args);
774 
775  return (Length);
776 }
int vsnprintf(char *String, ACPI_SIZE Size, const char *Format, va_list Args)
Definition: utprint.c:433
static WCHAR String[]
Definition: stringtable.c:55
#define va_end(ap)
Definition: acmsvcex.h:90
char * va_list
Definition: acmsvcex.h:78
char ** Args
Definition: acdebug.h:343
#define ACPI_UINT32_MAX
Definition: actypes.h:66
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
#define va_start(ap, A)
Definition: acmsvcex.h:91

◆ sscanf()

_Check_return_ _CRTIMP int __cdecl sscanf ( _In_z_ const char _Src,
_In_z_ _Scanf_format_string_ const char _Format,
  ... 
)

Referenced by __rpc_get_time_offset(), Addhost(), ata_bblk(), cache_entry_create(), check_version(), CheckForNewV3User(), convertHexToDWord(), create_sic(), CRYPT_AsnEncodeOid(), Deletehost(), DissectArcPath2(), doChild(), DoCOMPANY(), DoCOPYRIGHT(), DoDESCRIPTIONS(), DoKBD(), DoKEYNAME(), DoLANGUAGENAMES(), DoLAYOUT(), DoLOCALENAME(), DoSHIFTSTATE(), DoVERSION(), error(), find_typelib_key(), FTP_DoPassive(), FTP_ParseNextFile(), FTPFileSize(), getCharacterInfo(), getit(), GetOptUlong(), getRevision(), GetStartSpoolDate(), getTBRevision(), getVKNum(), handle_address_cmd(), handle_escape_cmd(), initconn(), is_float(), is_guid(), is_integer(), isOffset(), jinit_memory_mgr(), load_persistent_cookie(), main(), match_mod(), modtime(), my_atoi(), netname2user(), ntlm_AcceptSecurityContext(), ntlm_InitializeSecurityContextW(), OpenBookmarkFile(), optionParse(), parse_arguments(), parse_list_response(), parse_reg_reservation(), parse_stat_response(), parse_switches(), parse_uidl_response(), ParseHostLine(), Passive(), regscan(), set_quality_ratings(), set_quant_slots(), set_sample_factors(), SkipLines(), SLTG_DoRefs(), START_TEST(), system_icmp(), Test_ifuncs(), test_listbox_dlgdir(), test_listbox_LB_DIR(), test_retval(), test_strdate(), test_strtime(), TLB_GUIDFromString(), translate_line(), uaddr_to_sockaddr(), UnDate(), UnDosLine(), UnLslRLine(), UnMDTMDate(), UnMlsT(), updateSvnlog(), URLCopyToken(), RequestHandler::urldec(), UXTHEME_RestoreSystemMetrics(), while(), wined3d_adapter_init_gl_caps(), xmlInitMemory(), and xsltNumberComp().

◆ swprintf()

◆ swscanf()

◆ tempnam()

_CRTIMP char* __cdecl tempnam ( _In_opt_z_ const char _Directory,
_In_opt_z_ const char _FilePrefix 
)

Referenced by get_subtests(), and run_tests().

◆ tmpfile()

Definition at line 3912 of file file.c.

3913 {
3914  char *filename = tmpnam(NULL);
3915  int fd;
3916  FILE* file = NULL;
3917 
3918  LOCK_FILES();
3920  _S_IREAD | _S_IWRITE);
3921  if (fd != -1 && (file = msvcrt_alloc_fp()))
3922  {
3923  if (msvcrt_init_fp(file, fd, _IORW) == -1)
3924  {
3925  file->_flag = 0;
3926  file = NULL;
3927  }
3928  else file->_tmpfname = _strdup(filename);
3929  }
3930 
3931  if(fd != -1 && !file)
3932  _close(fd);
3933  UNLOCK_FILES();
3934  return file;
3935 }
#define _S_IREAD
Definition: cabinet.h:34
#define _O_CREAT
Definition: cabinet.h:46
static int fd
Definition: io.c:51
#define _strdup
Definition: debug_ros.c:7
const char * filename
Definition: ioapi.h:135
static int msvcrt_init_fp(FILE *file, int fd, unsigned stream_flags)
Definition: file.c:382
#define _O_RDWR
Definition: cabinet.h:39
smooth NULL
Definition: ftsmooth.c:416
#define _S_IWRITE
Definition: cabinet.h:33
#define UNLOCK_FILES()
Definition: file.c:156
int CDECL _close(int fd)
Definition: file.c:931
const char file[]
Definition: icontest.c:11
#define _O_BINARY
Definition: cabinet.h:51
#define LOCK_FILES()
Definition: file.c:155
int CDECL _open(const char *path, int flags,...)
Definition: file.c:2001
#define _O_TEMPORARY
Definition: cabinet.h:44
static FILE * msvcrt_alloc_fp(void)
Definition: file.c:360
#define _IORW
Definition: stdio.h:136
char *CDECL tmpnam(char *s)
Definition: file.c:3848
Definition: fci.c:126

Referenced by CCFDATAStorage::Create(), create_temp_binary(), jpeg_open_backing_store(), JSPROXY_InternetInitializeAutoProxyDll(), open_file_test(), patch_file(), test_color_contexts(), test_CreateDirectoryA(), test_CryptCATAdminAddRemoveCatalog(), test_GetNamedSecurityInfoA(), test_install_class(), test_retrieveObjectByUrl(), test_SetupCopyOEMInf(), transfer_file_http(), CCFDATAStorage::Truncate(), VerInstallFileA(), and VerInstallFileW().

◆ tmpnam()

_CRTIMP char* __cdecl tmpnam ( _Pre_maybenull_ _Post_z_ char _Buffer)

Referenced by CCFDATAStorage::Create().

◆ ungetc()

◆ ungetwc()

_Check_return_opt_ _CRTIMP wint_t __cdecl ungetwc ( _In_ wint_t  _Ch,
_Inout_ FILE _File 
)

◆ unlink()

_Check_return_ _CRTIMP int __cdecl unlink ( _In_z_ const char _Filename)

◆ vfprintf()

◆ vfscanf()

int __cdecl vfscanf ( FILE *__restrict__  fp,
const char Format,
va_list  argp 
)

◆ vfwprintf()

_Check_return_opt_ _CRTIMP int __cdecl vfwprintf ( _Inout_ FILE _File,
_In_z_ _Printf_format_string_ const wchar_t _Format,
va_list  _ArgList 
)

Referenced by _vcwprintf(), fwprintf(), and vwprintf().

◆ vfwscanf()

_CRTIMP int __cdecl vfwscanf ( FILE ,
const wchar_t ,
va_list   
)

◆ vprintf()

◆ vscanf()

int __cdecl vscanf ( const char *__restrict__  Format,
va_list  argp 
)

◆ vsnprintf()

_Check_return_opt_ _CRTIMP int __cdecl vsnprintf ( _Out_writes_(_MaxCount) char _DstBuf,
_In_ size_t  _MaxCount,
_In_z_ _Printf_format_string_ const char _Format,
va_list  _ArgList 
)

◆ vsnwprintf()

__CRT_INLINE int __cdecl vsnwprintf ( wchar_t s,
size_t  n,
const wchar_t format,
va_list  arg 
)

Definition at line 930 of file stdio.h.

931  {
932 #ifdef _MSC_VER
933 #pragma warning(push)
934 #pragma warning(disable:28719) /* disable banned api usage warning */
935 #endif /* _MSC_VER */
936  return _vsnwprintf(s,n,format,arg);
937 #ifdef _MSC_VER
938 #pragma warning(pop)
939 #endif /* _MSC_VER */
940  }
GLdouble n
Definition: glext.h:7729
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
GLdouble s
Definition: gl.h:2039
_CRTIMP int __cdecl _vsnwprintf(wchar_t *_Dest, size_t _Count, const wchar_t *_Format, va_list _Args)

Referenced by EfiPrintf(), and pSetupDebugPrint().

◆ vsprintf()

◆ vsscanf()

int __cdecl vsscanf ( const char *__restrict__  _Str,
const char *__restrict__  Format,
va_list  argp 
)

◆ vswprintf()

◆ vswscanf()

_CRTIMP int __cdecl vswscanf ( const wchar_t ,
const wchar_t ,
va_list   
)

◆ vwprintf()

◆ vwscanf()

_CRTIMP int __cdecl vwscanf ( const wchar_t ,
va_list   
)

◆ wprintf()

◆ wscanf()

Referenced by wmain().

Variable Documentation

◆ _off64_t

__MINGW_EXTENSION typedef long long _off64_t

Definition at line 90 of file stdio.h.

◆ fpos_t

__MINGW_EXTENSION typedef __int64 fpos_t

Definition at line 116 of file stdio.h.

Referenced by test_filbuf(), test_fileops(), and test_write_flush_size().

◆ off64_t

__MINGW_EXTENSION typedef long long off64_t

Definition at line 92 of file stdio.h.