#include <stdarg.h>

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. | |
Definition in file doprnt.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 |
Definition at line 28 of file doprnt.c.
References _prtl10(), _prtl16(), _prtl2(), _prtl8(), _prtX16(), and NULL.
Referenced by fprintf(), kprintf(), and sprintf().


| static void _prtl10 | ( | long | num, | |
| char * | str | |||
| ) | [static] |
| static void _prtl16 | ( | long | num, | |
| char * | str | |||
| ) | [static] |
| static void _prtl2 | ( | long | num, | |
| char * | str | |||
| ) | [static] |
| static void _prtl8 | ( | long | num, | |
| char * | str | |||
| ) | [static] |
| static void _prtX16 | ( | long | num, | |
| char * | str | |||
| ) | [static] |
1.5.5