home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_10_12
/
1012111a
< prev
next >
Wrap
Text File
|
1992-10-13
|
350b
|
18 lines
#define SIZE_BUFFER 1024
do_it_one_at_a_time(char *format, ...)
{
int length;
int i;
va_list arg_ptr;
va_start(arg_ptr, format);
char buffer[SIZE_BUFFER];
length = vsprintf(buffer, format, arg_ptr);
for (i = 0; i < length; i++)
{
do_it_for_one(buffer[i]);
}
va_end(arg_ptr);
}