ReactOS 0.4.16-dev-927-g467dec4
cscanf.cpp
Go to the documentation of this file.
1//
2// cscanf.cpp
3//
4// Copyright (c) Microsoft Corporation. All rights reserved.
5//
6// The core formatted input functions for direct console I/O.
7//
8#define _ALLOW_OLD_VALIDATE_MACROS
10
11using namespace __crt_stdio_input;
12
13template <typename Character>
15 unsigned __int64 const options,
16 Character const* const format,
17 _locale_t const locale,
18 va_list const arglist
19 ) throw()
20{
21 typedef input_processor<
22 Character,
24 > processor_type;
25
26 _LocaleUpdate locale_update(locale);
27
28 processor_type processor(
30 options,
31 format,
32 locale_update.GetLocaleT(),
33 arglist);
34
35 return processor.process();
36}
37
39 unsigned __int64 const options,
40 char const* const format,
41 _locale_t const locale,
42 va_list const arglist
43 )
44{
46}
47
49 unsigned __int64 const options,
50 wchar_t const* const format,
51 _locale_t const locale,
52 va_list const arglist
53 )
54{
56}
#define __cdecl
Definition: accygwin.h:79
char * va_list
Definition: acmsvcex.h:78
#define __int64
Definition: basetyps.h:16
Definition: _locale.h:75
static int __cdecl common_cscanf(unsigned __int64 const options, Character const *const format, _locale_t const locale, va_list const arglist)
Definition: cscanf.cpp:14
int __cdecl __conio_common_vcscanf(unsigned __int64 const options, char const *const format, _locale_t const locale, va_list const arglist)
Definition: cscanf.cpp:38
int __cdecl __conio_common_vcwscanf(unsigned __int64 const options, wchar_t const *const format, _locale_t const locale, va_list const arglist)
Definition: cscanf.cpp:48
va_lists_t arglist[FMT_ARGMAX+1]
Definition: format.c:284
Definition: format.c:58