/*********************************************************************************
 * This confidential and proprietary software may be used only as authorized 
 *                      by a licensing agreement from                           
 *                           Cortus S.A.
 *
 *             (C) Copyright 2004, 2005, 2006 Cortus S.A.
 *                           ALL RIGHTS RESERVED
 *
 * The entire notice above must be reproduced on all authorized copies
 * and any such reproduction must be pursuant to a licensing agreement 
 * from Cortus S.A. (http://www.cortus.com)
 *
 * Release:  Discretix R3.1.1
 * Filename: printf.c
 *
 *********************************************************************************/

#include "DX_VOS_BaseTypes.h"
#include <stdio.h>
#include <stdarg.h>

int printf(const char* format, ...)
{
    int result;
    va_list argp;
    va_start(argp,format);
    result = vfprintf(0x0,format,argp);
	fflush(0x0);
    va_end(argp);
    return result;
}
