dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
printf-stdarg.c File Reference

Formatted print functions. More...

#include <pios.h>

Go to the source code of this file.

Macros

#define PAD_RIGHT   1
 
#define PAD_ZERO   2
 
#define PRINT_BUF_LEN   12
 

Functions

static void printchar (char **str, int c)
 
static int prints (char **out, const char *string, int width, int pad)
 
static int printi (char **out, int i, int b, int sg, int width, int pad, int letbase)
 
static int print (char **out, const char *format, va_list args)
 
int printf (const char *format,...)
 
int vprintf (const char *format, va_list args)
 
int sprintf (char *out, const char *format,...)
 
int vsprintf (char *out, const char *format, va_list args)
 
int snprintf (char *buf, size_t count, const char *format,...)
 

Detailed Description

Formatted print functions.

Author
The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. Parts by Thorsten Klose (tk@mi.nosp@m.dibo.nosp@m.x.org)
See Also
The GNU Public License (GPL) Version 3

Definition in file printf-stdarg.c.