ReactOS  r75400
Scanf

Functions

TRIO_PUBLIC int trio_cscanf TRIO_VARGS4 ((stream, closure, format, va_alist), trio_instream_t stream, trio_pointer_t closure, TRIO_CONST char *format, TRIO_VA_DECL)
 
TRIO_PUBLIC int trio_vcscanf TRIO_ARGS4 ((stream, closure, format, args), trio_instream_t stream, trio_pointer_t closure, TRIO_CONST char *format, va_list args)
 
TRIO_PUBLIC int trio_cscanfv TRIO_ARGS4 ((stream, closure, format, args), trio_instream_t stream, trio_pointer_t closure, TRIO_CONST char *format, trio_pointer_t *args)
 
TRIO_PUBLIC int trio_sscanf TRIO_VARGS3 ((buffer, format, va_alist), TRIO_CONST char *buffer, TRIO_CONST char *format, TRIO_VA_DECL)
 
TRIO_PUBLIC int trio_vsscanf TRIO_ARGS3 ((buffer, format, args), TRIO_CONST char *buffer, TRIO_CONST char *format, va_list args)
 
TRIO_PUBLIC int trio_sscanfv TRIO_ARGS3 ((buffer, format, args), TRIO_CONST char *buffer, TRIO_CONST char *format, trio_pointer_t *args)
 

Detailed Description

Function Documentation

TRIO_PUBLIC int trio_vsscanf TRIO_ARGS3 ( (buffer, format, args ,
TRIO_CONST char buffer,
TRIO_CONST char format,
va_list  args 
)

Definition at line 6835 of file trio.c.

6839 {
6840  assert(VALID(buffer));
6841  assert(VALID(format));
6842 
6843  return TrioScan((trio_pointer_t)&buffer, 0,
6844  TrioInStreamString,
6846 }
char * trio_pointer_t
Definition: triodef.h:133
#define VALID(x)
Definition: trio.c:117
#define assert(x)
Definition: debug.h:53
GLuint buffer
Definition: glext.h:5915
Definition: match.c:295
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
#define TRIO_VA_LIST_ADDR(l)
Definition: trio.c:131
#define NULL
Definition: trio.c:107
TRIO_PUBLIC int trio_sscanfv TRIO_ARGS3 ( (buffer, format, args ,
TRIO_CONST char buffer,
TRIO_CONST char format,
trio_pointer_t args 
)

Definition at line 6850 of file trio.c.

6854 {
6855  assert(VALID(buffer));
6856  assert(VALID(format));
6857 
6858  return TrioScan((trio_pointer_t)&buffer, 0,
6859  TrioInStreamString,
6860  format, NULL, args);
6861 }
char * trio_pointer_t
Definition: triodef.h:133
#define VALID(x)
Definition: trio.c:117
#define assert(x)
Definition: debug.h:53
GLuint buffer
Definition: glext.h:5915
Definition: match.c:295
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
#define NULL
Definition: trio.c:107
TRIO_PUBLIC int trio_vcscanf TRIO_ARGS4 ( (stream, closure, format, args ,
trio_instream_t  stream,
trio_pointer_t  closure,
TRIO_CONST char format,
va_list  args 
)

Definition at line 6775 of file trio.c.

6780 {
6782 
6783  assert(VALID(stream));
6784  assert(VALID(format));
6785 
6786  data.stream.in = stream;
6787  data.closure = closure;
6788  return TrioScan(&data, 0, TrioInStreamCustom, format, TRIO_VA_LIST_ADDR(args), NULL);
6789 }
#define VALID(x)
Definition: trio.c:117
trio_pointer_t closure
Definition: trio.c:695
trio_instream_t in
Definition: trio.c:693
#define assert(x)
Definition: debug.h:53
Definition: match.c:295
GLuint GLuint stream
Definition: glext.h:7522
union trio_custom_t::@3657 stream
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
Definition: parse.h:22
#define TRIO_VA_LIST_ADDR(l)
Definition: trio.c:131
#define NULL
Definition: trio.c:107
TRIO_PUBLIC int trio_cscanfv TRIO_ARGS4 ( (stream, closure, format, args ,
trio_instream_t  stream,
trio_pointer_t  closure,
TRIO_CONST char format,
trio_pointer_t args 
)

Definition at line 6793 of file trio.c.

6798 {
6800 
6801  assert(VALID(stream));
6802  assert(VALID(format));
6803 
6804  data.stream.in = stream;
6805  data.closure = closure;
6806  return TrioScan(&data, 0, TrioInStreamCustom, format, NULL, args);
6807 }
#define VALID(x)
Definition: trio.c:117
trio_pointer_t closure
Definition: trio.c:695
trio_instream_t in
Definition: trio.c:693
#define assert(x)
Definition: debug.h:53
Definition: match.c:295
GLuint GLuint stream
Definition: glext.h:7522
union trio_custom_t::@3657 stream
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
Definition: parse.h:22
#define NULL
Definition: trio.c:107
TRIO_PUBLIC int trio_sscanf TRIO_VARGS3 ( (buffer, format, va_alist)  ,
TRIO_CONST char buffer,
TRIO_CONST char format,
TRIO_VA_DECL   
)

Definition at line 6814 of file trio.c.

6818 {
6819  int status;
6820  va_list args;
6821 
6822  assert(VALID(buffer));
6823  assert(VALID(format));
6824 
6825  TRIO_VA_START(args, format);
6826  status = TrioScan((trio_pointer_t)&buffer, 0,
6827  TrioInStreamString,
6828  format, TRIO_VA_LIST_ADDR(args), NULL);
6829  TRIO_VA_END(args);
6830  return status;
6831 }
char * trio_pointer_t
Definition: triodef.h:133
#define VALID(x)
Definition: trio.c:117
#define assert(x)
Definition: debug.h:53
GLuint buffer
Definition: glext.h:5915
char * va_list
Definition: acmsvcex.h:78
#define TRIO_VA_END(x)
Definition: triodef.h:149
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
#define TRIO_VA_LIST_ADDR(l)
Definition: trio.c:131
static SERVICE_STATUS status
Definition: service.c:26
#define args
Definition: format.c:66
#define TRIO_VA_START(x, y)
Definition: triodef.h:148
#define NULL
Definition: trio.c:107
TRIO_PUBLIC int trio_cscanf TRIO_VARGS4 ( (stream, closure, format, va_alist)  ,
trio_instream_t  stream,
trio_pointer_t  closure,
TRIO_CONST char format,
TRIO_VA_DECL   
)

Definition at line 6752 of file trio.c.

6757 {
6758  int status;
6759  va_list args;
6761 
6762  assert(VALID(stream));
6763  assert(VALID(format));
6764 
6765  TRIO_VA_START(args, format);
6766  data.stream.in = stream;
6767  data.closure = closure;
6768  status = TrioScan(&data, 0, TrioInStreamCustom, format, TRIO_VA_LIST_ADDR(args), NULL);
6769  TRIO_VA_END(args);
6770  return status;
6771 }
#define VALID(x)
Definition: trio.c:117
trio_pointer_t closure
Definition: trio.c:695
trio_instream_t in
Definition: trio.c:693
#define assert(x)
Definition: debug.h:53
GLuint GLuint stream
Definition: glext.h:7522
char * va_list
Definition: acmsvcex.h:78
#define TRIO_VA_END(x)
Definition: triodef.h:149
union trio_custom_t::@3657 stream
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
Definition: parse.h:22
#define TRIO_VA_LIST_ADDR(l)
Definition: trio.c:131
static SERVICE_STATUS status
Definition: service.c:26
#define args
Definition: format.c:66
#define TRIO_VA_START(x, y)
Definition: triodef.h:148
#define NULL
Definition: trio.c:107