Imported Genode release 11.11

This commit is contained in:
Genode Labs
2011-12-22 16:19:25 +01:00
committed by Christian Helmuth
parent 6bcc9aef0e
commit da4e1feaa5
2462 changed files with 320115 additions and 3 deletions

View File

@ -0,0 +1,35 @@
/*
* \brief Genode::printf back-end for stdio
* \author Norman Feske
* \date 2009-10-06
*
* This library can be used by unit test executed on the host platform to
* direct output from the Genode framework to stdout.
*/
/*
* Copyright (C) 2009-2011 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#include <stdio.h>
#include <base/printf.h>
void Genode::printf(const char *format, ...)
{
va_list list;
va_start(list, format);
::vprintf(format, list);
va_end(list);
}
void Genode::vprintf(const char *format, va_list list)
{
::vprintf(format, list);
}