FreeRDP
Printf

Functions

TRIO_PUBLIC int trio_printf TRIO_VARGS2 ((format, va_alist), TRIO_CONST char *format, TRIO_VA_DECL)
 
TRIO_PUBLIC int trio_vprintf TRIO_ARGS2 ((format, args), TRIO_CONST char *format, va_list args)
 
TRIO_PUBLIC int trio_printfv TRIO_ARGS2 ((format, args), TRIO_CONST char *format, trio_pointer_t *args)
 
TRIO_PUBLIC int trio_fprintf TRIO_VARGS3 ((file, format, va_alist), FILE *file, TRIO_CONST char *format, TRIO_VA_DECL)
 
TRIO_PUBLIC int trio_vfprintf TRIO_ARGS3 ((file, format, args), FILE *file, TRIO_CONST char *format, va_list args)
 
TRIO_PUBLIC int trio_fprintfv TRIO_ARGS3 ((file, format, args), FILE *file, TRIO_CONST char *format, trio_pointer_t *args)
 
TRIO_PUBLIC int trio_dprintf TRIO_VARGS3 ((fd, format, va_alist), int fd, TRIO_CONST char *format, TRIO_VA_DECL)
 
TRIO_PUBLIC int trio_vdprintf TRIO_ARGS3 ((fd, format, args), int fd, TRIO_CONST char *format, va_list args)
 
TRIO_PUBLIC int trio_dprintfv TRIO_ARGS3 ((fd, format, args), int fd, TRIO_CONST char *format, trio_pointer_t *args)
 
TRIO_PUBLIC int trio_cprintf TRIO_VARGS4 ((stream, closure, format, va_alist), trio_outstream_t stream, trio_pointer_t closure, TRIO_CONST char *format, TRIO_VA_DECL)
 
TRIO_PUBLIC int trio_vcprintf TRIO_ARGS4 ((stream, closure, format, args), trio_outstream_t stream, trio_pointer_t closure, TRIO_CONST char *format, va_list args)
 
TRIO_PUBLIC int trio_cprintfv TRIO_ARGS4 ((stream, closure, format, args), trio_outstream_t stream, trio_pointer_t closure, TRIO_CONST char *format, trio_pointer_t *args)
 
TRIO_PUBLIC int trio_sprintf TRIO_VARGS3 ((buffer, format, va_alist), char *buffer, TRIO_CONST char *format, TRIO_VA_DECL)
 
TRIO_PUBLIC int trio_vsprintf TRIO_ARGS3 ((buffer, format, args), char *buffer, TRIO_CONST char *format, va_list args)
 
TRIO_PUBLIC int trio_sprintfv TRIO_ARGS3 ((buffer, format, args), char *buffer, TRIO_CONST char *format, trio_pointer_t *args)
 
TRIO_PUBLIC int trio_snprintf TRIO_VARGS4 ((buffer, max, format, va_alist), char *buffer, size_t max, TRIO_CONST char *format, TRIO_VA_DECL)
 
TRIO_PUBLIC int trio_vsnprintf TRIO_ARGS4 ((buffer, max, format, args), char *buffer, size_t max, TRIO_CONST char *format, va_list args)
 
TRIO_PUBLIC int trio_snprintfv TRIO_ARGS4 ((buffer, max, format, args), char *buffer, size_t max, TRIO_CONST char *format, trio_pointer_t *args)
 
TRIO_PUBLIC int trio_asprintf TRIO_VARGS3 ((result, format, va_alist), char **result, TRIO_CONST char *format, TRIO_VA_DECL)
 
TRIO_PUBLIC int trio_vasprintf TRIO_ARGS3 ((result, format, args), char **result, TRIO_CONST char *format, va_list args)
 
TRIO_PUBLIC int trio_asprintfv TRIO_ARGS3 ((result, format, args), char **result, TRIO_CONST char *format, trio_pointer_t *args)
 

Detailed Description

Function Documentation

◆ TRIO_ARGS2() [1/2]

TRIO_PUBLIC int trio_scanfv TRIO_ARGS2 ( (format, args)  ,
TRIO_CONST char *  format,
trio_pointer_t args 
)

Print to standard output stream.

Parameters
formatFormatting string.
argsArguments.
Returns
Number of printed characters.

Scan characters from standard input stream.

Parameters
formatFormatting string.
argsArguments.
Returns
Number of scanned characters.
Here is the call graph for this function:

◆ TRIO_ARGS2() [2/2]

TRIO_PUBLIC int trio_vscanf TRIO_ARGS2 ( (format, args)  ,
TRIO_CONST char *  format,
va_list  args 
)

Print to standard output stream.

Parameters
formatFormatting string.
argsArguments.
Returns
Number of printed characters.

Scan characters from standard input stream.

Parameters
formatFormatting string.
argsArguments.
Returns
Number of scanned characters.

◆ TRIO_ARGS3() [1/8]

TRIO_PUBLIC int trio_sprintfv TRIO_ARGS3 ( (buffer, format, args)  ,
char *  buffer,
TRIO_CONST char *  format,
trio_pointer_t args 
)

Print to string.

Parameters
bufferOutput string.
formatFormatting string.
argsArguments.
Returns
Number of printed characters.
Here is the call graph for this function:

◆ TRIO_ARGS3() [2/8]

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

Print to string.

Parameters
bufferOutput string.
formatFormatting string.
argsArguments.
Returns
Number of printed characters.

◆ TRIO_ARGS3() [3/8]

TRIO_PUBLIC int trio_dscanfv TRIO_ARGS3 ( (fd, format, args)  ,
int  fd,
TRIO_CONST char *  format,
trio_pointer_t args 
)

Print to file descriptor.

Parameters
fdFile descriptor.
formatFormatting string.
argsArguments.
Returns
Number of printed characters.

Scan characters from file descriptor.

Parameters
fdFile descriptor.
formatFormatting string.
argsArguments.
Returns
Number of scanned characters.
Here is the call graph for this function:

◆ TRIO_ARGS3() [4/8]

TRIO_PUBLIC int trio_vdscanf TRIO_ARGS3 ( (fd, format, args)  ,
int  fd,
TRIO_CONST char *  format,
va_list  args 
)

Print to file descriptor.

Parameters
fdFile descriptor.
formatFormatting string.
argsArguments.
Returns
Number of printed characters.

Scan characters from file descriptor.

Parameters
fdFile descriptor.
formatFormatting string.
argsArguments.
Returns
Number of scanned characters.

◆ TRIO_ARGS3() [5/8]

TRIO_PUBLIC int trio_fscanfv TRIO_ARGS3 ( (file, format, args)  ,
FILE *  file,
TRIO_CONST char *  format,
trio_pointer_t args 
)

Print to file.

Parameters
fileFile pointer.
formatFormatting string.
argsArguments.
Returns
Number of printed characters.

Scan characters from file.

Parameters
fileFile pointer.
formatFormatting string.
argsArguments.
Returns
Number of scanned characters.
Here is the call graph for this function:

◆ TRIO_ARGS3() [6/8]

TRIO_PUBLIC int trio_vfscanf TRIO_ARGS3 ( (file, format, args)  ,
FILE *  file,
TRIO_CONST char *  format,
va_list  args 
)

Print to file.

Parameters
fileFile pointer.
formatFormatting string.
argsArguments.
Returns
Number of printed characters.

Scan characters from file.

Parameters
fileFile pointer.
formatFormatting string.
argsArguments.
Returns
Number of scanned characters.
Here is the call graph for this function:

◆ TRIO_ARGS3() [7/8]

TRIO_PUBLIC int trio_asprintfv TRIO_ARGS3 ( (result, format, args)  ,
char **  result,
TRIO_CONST char *  format,
trio_pointer_t args 
)

Allocate and print to string. The memory allocated and returned by result must be freed by the calling application.

Parameters
resultOutput string.
formatFormatting string.
argsArguments.
Returns
Number of printed characters.
Here is the call graph for this function:

◆ TRIO_ARGS3() [8/8]

TRIO_PUBLIC int trio_vasprintf TRIO_ARGS3 ( (result, format, args)  ,
char **  result,
TRIO_CONST char *  format,
va_list  args 
)

Allocate and print to string. The memory allocated and returned by result must be freed by the calling application.

Parameters
resultOutput string.
formatFormatting string.
argsArguments.
Returns
Number of printed characters.

◆ TRIO_ARGS4() [1/4]

TRIO_PUBLIC int trio_snprintfv TRIO_ARGS4 ( (buffer, max, format, args)  ,
char *  buffer,
size_t  max,
TRIO_CONST char *  format,
trio_pointer_t args 
)

Print at most max characters to string.

Parameters
bufferOutput string.
maxMaximum number of characters to print.
formatFormatting string.
argsArguments.
Returns
Number of printed characters.
Here is the call graph for this function:

◆ TRIO_ARGS4() [2/4]

TRIO_PUBLIC int trio_vsnprintfcat TRIO_ARGS4 ( (buffer, max, format, args)  ,
char *  buffer,
size_t  max,
TRIO_CONST char *  format,
va_list  args 
)

Print at most max characters to string.

Parameters
bufferOutput string.
maxMaximum number of characters to print.
formatFormatting string.
argsArguments.
Returns
Number of printed characters.

◆ TRIO_ARGS4() [3/4]

TRIO_PUBLIC int trio_cprintfv TRIO_ARGS4 ( (stream, closure, format, args)  ,
trio_outstream_t  stream,
trio_pointer_t  closure,
TRIO_CONST char *  format,
trio_pointer_t args 
)
Here is the call graph for this function:

◆ TRIO_ARGS4() [4/4]

TRIO_PUBLIC int trio_vcprintf TRIO_ARGS4 ( (stream, closure, format, args)  ,
trio_outstream_t  stream,
trio_pointer_t  closure,
TRIO_CONST char *  format,
va_list  args 
)

◆ TRIO_VARGS2()

TRIO_PUBLIC int trio_scanf TRIO_VARGS2 ( (format, va_alist)  ,
TRIO_CONST char *  format,
TRIO_VA_DECL   
)

Print to standard output stream.

Parameters
formatFormatting string.
...Arguments.
Returns
Number of printed characters.

Scan characters from standard input stream.

Parameters
formatFormatting string.
...Arguments.
Returns
Number of scanned characters.

◆ TRIO_VARGS3() [1/4]

TRIO_PUBLIC int trio_sprintf TRIO_VARGS3 ( (buffer, format, va_alist)  ,
char *  buffer,
TRIO_CONST char *  format,
TRIO_VA_DECL   
)

Print to string.

Parameters
bufferOutput string.
formatFormatting string.
...Arguments.
Returns
Number of printed characters.

◆ TRIO_VARGS3() [2/4]

TRIO_PUBLIC int trio_dscanf TRIO_VARGS3 ( (fd, format, va_alist)  ,
int  fd,
TRIO_CONST char *  format,
TRIO_VA_DECL   
)

Print to file descriptor.

Parameters
fdFile descriptor.
formatFormatting string.
...Arguments.
Returns
Number of printed characters.

Scan characters from file descriptor.

Parameters
fdFile descriptor.
formatFormatting string.
...Arguments.
Returns
Number of scanned characters.

◆ TRIO_VARGS3() [3/4]

TRIO_PUBLIC int trio_fscanf TRIO_VARGS3 ( (file, format, va_alist)  ,
FILE *  file,
TRIO_CONST char *  format,
TRIO_VA_DECL   
)

Print to file.

Parameters
fileFile pointer.
formatFormatting string.
...Arguments.
Returns
Number of printed characters.

Scan characters from file.

Parameters
fileFile pointer.
formatFormatting string.
...Arguments.
Returns
Number of scanned characters.
Here is the call graph for this function:

◆ TRIO_VARGS3() [4/4]

TRIO_PUBLIC int trio_asprintf TRIO_VARGS3 ( (result, format, va_alist)  ,
char **  result,
TRIO_CONST char *  format,
TRIO_VA_DECL   
)

Allocate and print to string. The memory allocated and returned by result must be freed by the calling application.

Parameters
resultOutput string.
formatFormatting string.
...Arguments.
Returns
Number of printed characters.

◆ TRIO_VARGS4() [1/2]

TRIO_PUBLIC int trio_snprintfcat TRIO_VARGS4 ( (buffer, max, format, va_alist)  ,
char *  buffer,
size_t  max,
TRIO_CONST char *  format,
TRIO_VA_DECL   
)

Print at most max characters to string.

Parameters
bufferOutput string.
maxMaximum number of characters to print.
formatFormatting string.
...Arguments.
Returns
Number of printed characters.

◆ TRIO_VARGS4() [2/2]

TRIO_PUBLIC int trio_cprintf TRIO_VARGS4 ( (stream, closure, format, va_alist)  ,
trio_outstream_t  stream,
trio_pointer_t  closure,
TRIO_CONST char *  format,
TRIO_VA_DECL   
)