FreeRDP
TestPrint.c File Reference
#include <math.h>
#include <winpr/crt.h>
#include <winpr/tchar.h>
#include <winpr/print.h>

Macros

#define _printf   printf
 

Functions

static BOOL test_bin_tohex_string (void)
 
static BOOL test_bin_tohex_string_alloc (void)
 
static BOOL test_hex_string_to_bin (void)
 
int TestPrint (int argc, char *argv[])
 

Macro Definition Documentation

◆ _printf

#define _printf   printf

C Programming/C Reference/stdio.h/printf: http://en.wikibooks.org/wiki/C_Programming/C_Reference/stdio.h/printf

C Programming/Procedures and functions/printf: http://en.wikibooks.org/wiki/C_Programming/Procedures_and_functions/printf

C Tutorial – printf, Format Specifiers, Format Conversions and Formatted Output: http://www.codingunit.com/printf-format-specifiers-format-conversions-and-formatted-output

Function Documentation

◆ test_bin_tohex_string()

static BOOL test_bin_tohex_string ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_bin_tohex_string_alloc()

static BOOL test_bin_tohex_string_alloc ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_hex_string_to_bin()

static BOOL test_hex_string_to_bin ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TestPrint()

int TestPrint ( int  argc,
char *  argv[] 
)

7 7 007 5.10

0 -17.778 20 -6.667 40 04.444 60 15.556 80 26.667 100 37.778 120 48.889 140 60.000 160 71.111 180 82.222 200 93.333 220 104.444 240 115.556 260 126.667 280 137.778 300 148.889

The color: blue First number: 12345 Second number: 0025 Third number: 1234 Float number: 3.14 Hexadecimal: ff Octal: 377 Unsigned value: 150 Just print the percentage sign %

:Hello, world!: : Hello, world!: :Hello, wor: :Hello, world!: :Hello, world! : :Hello, world!: : Hello, wor: :Hello, wor :

Here is the call graph for this function: