#include <vararg.h>
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,...) |
Definition in file fprintf.c.
void _doprnt | ( | char * | , | |
va_list | , | |||
int(*)(int, int) | , | |||
int | ||||
) |
int fprintf | ( | int | dev, | |
char * | fmt, | |||
... | ||||
) |
Print a formatted message on specified device (file)
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().