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 double abs (double a)
 
static void f2a (float num, int whitespace, 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 103 of file printf.cpp.

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

Definition at line 114 of file printf.cpp.

static double abs ( double  a)
static

Definition at line 40 of file printf.cpp.

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

Definition at line 129 of file printf.cpp.

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

Definition at line 94 of file printf.cpp.

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

Definition at line 262 of file printf.cpp.

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

Definition at line 66 of file printf.cpp.

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

Definition at line 170 of file printf.cpp.

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

Definition at line 276 of file printf.cpp.

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

Definition at line 183 of file printf.cpp.

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

Definition at line 268 of file printf.cpp.

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

Definition at line 281 of file printf.cpp.

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

Definition at line 76 of file printf.cpp.

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

Definition at line 48 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 Wed Jul 3 2019 19:59:27