doprnt.c File Reference

Implements the functions: _doprnt, _prtl2, _prtl8, _prtl10, _prtX16, _prtl16. More...

#include <stdarg.h>

Include dependency graph for doprnt.c:

Go to the source code of this file.

Functions

static void _prtl10 (long num, char *str)
 Prints num.
static void _prtl8 (long num, char *str)
 Prints.
static void _prtX16 (long num, char *str)
 Prints.
static void _prtl16 (long num, char *str)
 Prints.
static void _prtl2 (long num, char *str)
 Prints.
void _doprnt (char *fmt, va_list ap, int(*func)(int, int), int farg)
 Format and write output using 'func' to write characters.


Detailed Description

Implements the functions: _doprnt, _prtl2, _prtl8, _prtl10, _prtX16, _prtl16.

Id
doprnt.c 1447 2008-08-12 19:23:34Z mschul

Definition in file doprnt.c.


Function Documentation

void _doprnt ( char *  fmt,
va_list  ap,
int(*)(int, int)  func,
int  farg 
)

Format and write output using 'func' to write characters.

Formatted output.

(Patched for Sun3 by Shawn Ostermann.) All arguments passed as 4 bytes, long==int.

Parameters:
*fmt format string
ap list of values
*func character output function
farg argument for character output function

Definition at line 28 of file doprnt.c.

References _prtl10(), _prtl16(), _prtl2(), _prtl8(), _prtX16(), and NULL.

Referenced by fprintf(), kprintf(), and sprintf().

Here is the call graph for this function:

Here is the caller graph for this function:

static void _prtl10 ( long  num,
char *  str 
) [static]

Prints num.

Parameters:
*str 

Definition at line 216 of file doprnt.c.

Referenced by _doprnt().

Here is the caller graph for this function:

static void _prtl16 ( long  num,
char *  str 
) [static]

Prints.

Parameters:
num 
*str 

Definition at line 261 of file doprnt.c.

Referenced by _doprnt().

Here is the caller graph for this function:

static void _prtl2 ( long  num,
char *  str 
) [static]

Prints.

Parameters:
num 
*str 

Definition at line 305 of file doprnt.c.

Referenced by _doprnt().

Here is the caller graph for this function:

static void _prtl8 ( long  num,
char *  str 
) [static]

Prints.

Parameters:
num 
*str 

Definition at line 238 of file doprnt.c.

Referenced by _doprnt().

Here is the caller graph for this function:

static void _prtX16 ( long  num,
char *  str 
) [static]

Prints.

Parameters:
num 
*str 

Definition at line 283 of file doprnt.c.

Referenced by _doprnt().

Here is the caller graph for this function:


Generated on Wed Aug 27 06:08:04 2008 for Embedded XINU by  doxygen 1.5.5