Initial revision
This commit is contained in:
20
lang/cem/libcc.ansi/stdio/vprintf.c
Normal file
20
lang/cem/libcc.ansi/stdio/vprintf.c
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* vprintf - formatted output without ellipsis to the standard output stream
|
||||
*/
|
||||
/* $Header$ */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include "loc_incl.h"
|
||||
|
||||
int
|
||||
vprintf(const char *format, va_list arg)
|
||||
{
|
||||
int retval;
|
||||
|
||||
retval = _doprnt(format, arg, stdout);
|
||||
if (io_testflag(stdout, _IOLBF))
|
||||
fflush(stdout);
|
||||
|
||||
return retval;
|
||||
}
|
||||
Reference in New Issue
Block a user