Macros | Typedefs | Functions | Variables
printf.cpp File Reference
#include "printf.h"
Include dependency graph for printf.cpp:

Go to the source code of this file.

Macros

#define PRINTF_FLOAT_DECIMALS   3
 

Typedefs

typedef void(* putcf) (void *, char)
 

Functions

static int a2d (char ch)
 
static char a2i (char ch, char **src, int base, int *nump)
 
static void f2a (float num, int decimals, char *bf)
 
static void i2a (int num, char *bf)
 
void init_printf (void *putp, void(*putf)(void *, char))
 
static void li2a (long num, char *bf)
 
static void putchw (void *putp, putcf putf, int n, char z, char *bf)
 
static void putcp (void *p, char c)
 
void tfp_format (void *putp, putcf putf, const char *fmt, va_list va)
 
void tfp_printf (const char *fmt,...)
 
void tfp_sprintf (char *s, const char *fmt,...)
 
static void ui2a (unsigned int num, unsigned int base, int uc, char *bf)
 
static void uli2a (unsigned long int num, unsigned int base, int uc, char *bf)
 

Variables

static putcf stdout_putf
 
static void * stdout_putp
 

Macro Definition Documentation

#define PRINTF_FLOAT_DECIMALS   3

Definition at line 34 of file printf.cpp.

Typedef Documentation

typedef void(* putcf) (void *, char)

Definition at line 36 of file printf.cpp.

Function Documentation

static int a2d ( char  ch)
static

Definition at line 95 of file printf.cpp.

static char a2i ( char  ch,
char **  src,
int  base,
int *  nump 
)
static

Definition at line 106 of file printf.cpp.

static void f2a ( float  num,
int  decimals,
char *  bf 
)
static

Definition at line 121 of file printf.cpp.

static void i2a ( int  num,
char *  bf 
)
static

Definition at line 86 of file printf.cpp.

void init_printf ( void *  putp,
void(*)(void *, char)  putf 
)

Definition at line 245 of file printf.cpp.

static void li2a ( long  num,
char *  bf 
)
static

Definition at line 58 of file printf.cpp.

static void putchw ( void *  putp,
putcf  putf,
int  n,
char  z,
char *  bf 
)
static

Definition at line 153 of file printf.cpp.

static void putcp ( void *  p,
char  c 
)
static

Definition at line 259 of file printf.cpp.

void tfp_format ( void *  putp,
putcf  putf,
const char *  fmt,
va_list  va 
)

Definition at line 166 of file printf.cpp.

void tfp_printf ( const char *  fmt,
  ... 
)

Definition at line 251 of file printf.cpp.

void tfp_sprintf ( char *  s,
const char *  fmt,
  ... 
)

Definition at line 264 of file printf.cpp.

static void ui2a ( unsigned int  num,
unsigned int  base,
int  uc,
char *  bf 
)
static

Definition at line 68 of file printf.cpp.

static void uli2a ( unsigned long int  num,
unsigned int  base,
int  uc,
char *  bf 
)
static

Definition at line 40 of file printf.cpp.

Variable Documentation

putcf stdout_putf
static

Definition at line 37 of file printf.cpp.

void* stdout_putp
static

Definition at line 38 of file printf.cpp.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Oct 24 2019 03:17:21