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

#include <vararg.h>

Include dependency graph for fprintf.c:

Go to the source code of this file.

Defines

#define OK   1

Functions

void _doprnt (char *, va_list, int(*)(int, int), int)
int fprintf (int dev, char *fmt,...)


Detailed Description

fprintf

Id
fprintf.c 221 2007-07-11 18:45:46Z mschul

Definition in file fprintf.c.


Define Documentation

#define OK   1

Definition at line 11 of file fprintf.c.


Function Documentation

void _doprnt ( char *  ,
va_list  ,
int(*)(int, int)  ,
int   
)

int fprintf ( int  dev,
char *  fmt,
  ... 
)

Print a formatted message on specified device (file)

Parameters:
dev device to write to
*fmt format string

Definition at line 20 of file fprintf.c.

References _doprnt(), OK, putc(), va_end, and va_start.

Referenced by shell(), testItem(), uartStat(), xsh_exit(), xsh_gpiostat(), xsh_help(), xsh_kill(), xsh_led(), xsh_memstat(), xsh_ps(), xsh_reset(), xsh_sleep(), xsh_testsuite(), and xsh_uartstat().


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