#include <stdarg.h>

Go to the source code of this file.
Functions | |
| void | _doprnt (char *, va_list, int(*)(int, int), int) |
| Format and write output using 'func' to write characters. | |
| int | fprintf (int dev, char *fmt,...) |
| Print a formatted message on specified device (file). | |
Definition in file fprintf.c.
| 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.
| *fmt | format string | |
| ap | list of values | |
| *func | character output function | |
| farg | argument for character output function |
| 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 19 of file fprintf.c.
References _doprnt(), and putc().
Referenced by hexdump(), hexdump_print(), shell(), test_libStdio(), xsh_clear(), xsh_ethstat(), xsh_exit(), xsh_gpiostat(), xsh_help(), xsh_kill(), xsh_led(), xsh_memdump(), xsh_memstat(), xsh_nvram(), xsh_nvramHelp(), xsh_nvramList(), xsh_ps(), xsh_reset(), xsh_sleep(), xsh_uartstat(), and xsh_vlanstat().


1.5.6