mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-04 02:01:53 +00:00
23 lines
467 B
C++
23 lines
467 B
C++
|
/*
|
||
|
* \brief C implementation of 'Genode::printf()'
|
||
|
* \author Christian Prochaska
|
||
|
* \date 2013-07-29
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
* Copyright (C) 2013 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 <base/printf.h>
|
||
|
|
||
|
extern "C" void genode_printf(const char *format, ...)
|
||
|
{
|
||
|
va_list list;
|
||
|
va_start(list, format);
|
||
|
Genode::vprintf(format, list);
|
||
|
va_end(list);
|
||
|
}
|