Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/lib/libxc/doprnt.c File Reference

#include <vararg.h>

Include dependency graph for doprnt.c:

Go to the source code of this file.

Defines

#define MAXSTR   80
#define local   static

Functions

local void _prtl10 (long num, char *str)
local void _prtl8 (long num, char *str)
local void _prtX16 (long num, char *str)
local void _prtl16 (long num, char *str)
local void _prtl2 (long num, char *str)
void _doprnt (char *fmt, va_list ap, int(*func)(), int farg)


Detailed Description

_doprnt, _prtl2, _prtl8, _prtl10, _prtX16, _prtl16

Id
doprnt.c 226 2007-07-12 01:18:27Z mschul

Definition in file doprnt.c.


Define Documentation

#define local   static

Definition at line 12 of file doprnt.c.

#define MAXSTR   80

Definition at line 11 of file doprnt.c.

Referenced by _doprnt().


Function Documentation

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

Format and write output using 'func' to write characters. (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(), MAXSTR, and va_arg.

local void _prtl10 ( long  num,
char *  str 
)

Prints

Parameters:
num 
*str 

Definition at line 215 of file doprnt.c.

Referenced by _doprnt().

local void _prtl16 ( long  num,
char *  str 
)

Prints

Parameters:
num 
*str 

Definition at line 260 of file doprnt.c.

Referenced by _doprnt().

local void _prtl2 ( long  num,
char *  str 
)

Prints

Parameters:
num 
*str 

Definition at line 304 of file doprnt.c.

Referenced by _doprnt().

local void _prtl8 ( long  num,
char *  str 
)

Prints

Parameters:
num 
*str 

Definition at line 237 of file doprnt.c.

Referenced by _doprnt().

local void _prtX16 ( long  num,
char *  str 
)

Prints

Parameters:
num 
*str 

Definition at line 282 of file doprnt.c.

Referenced by _doprnt().


Generated on Thu Oct 9 22:34:49 2008 for xinu by  doxygen 1.5.5