#include <vararg.h>
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) |
Definition in file doprnt.c.
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.
*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 | |||
) |
local void _prtl16 | ( | long | num, | |
char * | str | |||
) |
local void _prtl2 | ( | long | num, | |
char * | str | |||
) |
local void _prtl8 | ( | long | num, | |
char * | str | |||
) |
local void _prtX16 | ( | long | num, | |
char * | str | |||
) |