Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

printf.c File Reference

printf function More...

#include <stdarg.h>

Go to the source code of this file.

Functions

int itoa (unsigned int value, char *dst, int pos, int len, int radix, const char *digits)
int vsnprintf (char *dst, int len, const char *fmt, va_list arg)
char * snprintf (char *dst, int len, const char *fmt,...)

Variables

const char hexdigits [] = "0123456789ABCDEF"
const char lhexdigits [] = "0123456789abcdef"
const char empty_string [] = "(null string)"


Detailed Description

printf function

Author:
Matthew Ahrens <mahrens@acm.org>

Definition in file printf.c.


Function Documentation

int itoa unsigned int  value,
char *  dst,
int  pos,
int  len,
int  radix,
const char *  digits
[static]
 

Definition at line 38 of file printf.c.

Referenced by vsnprintf().

char* snprintf char *  dst,
int  len,
const char *  fmt,
  ...
 

Definition at line 141 of file printf.c.

References vsnprintf().

int vsnprintf char *  dst,
int  len,
const char *  fmt,
va_list  arg
 

Definition at line 74 of file printf.c.

References hexdigits, itoa(), and lhexdigits.

Referenced by snprintf().


Variable Documentation

const char empty_string[] = "(null string)" [static]
 

Definition at line 29 of file printf.c.

const char hexdigits[] = "0123456789ABCDEF" [static]
 

Definition at line 27 of file printf.c.

Referenced by vsnprintf().

const char lhexdigits[] = "0123456789abcdef" [static]
 

Definition at line 28 of file printf.c.

Referenced by vsnprintf().


Generated on Fri Feb 25 08:02:44 2005 for brickos by  doxygen 1.3.9.1