home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Photo CD Demo 1
/
Demo.bin
/
gle
/
gle
/
dvpprntf.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-11-29
|
558b
|
29 lines
/* As varargs are so difficult to make work, I've put them
in this module by themselfs, on a DEC5400 it was necessary
to compile this module using the native C compiler instead of
GCC
*/
#include <varargs.h>
#ifdef ultrix
extern int printmem();
#else
int printmem(char *s, int n);
#endif
void pprintf(va_alist)
va_dcl
{
va_list args;
char *fmt;
char string[1024];
va_start(args);
fmt = va_arg(args, char *);
vsprintf(string, fmt, args);
va_end(args);
printmem(string,strlen(string));
}