L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
iostream
Go to the documentation of this file.
1// -*- Mode: C++ -*-
2// vim:ft=cpp
7/*
8 * (c) 2004-2009 Alexander Warg <warg@os.inf.tu-dresden.de>,
9 * Torsten Frenzel <frenzel@os.inf.tu-dresden.de>
10 * economic rights: Technische Universität Dresden (Germany)
11 *
12 * This file is part of TUD:OS and distributed under the terms of the
13 * GNU General Public License 2.
14 * Please see the COPYING-GPL-2 file for details.
15 *
16 * As a special exception, you may use this file as part of a free software
17 * library without restriction. Specifically, if other files instantiate
18 * templates or use macros or inline functions from this file, or you compile
19 * this file and link it with other files to produce an executable, this
20 * file does not by itself cause the resulting executable to be covered by
21 * the GNU General Public License. This exception does not however
22 * invalidate any other reasons why the executable file might be covered by
23 * the GNU General Public License.
24 */
25#pragma once
26
27#include <l4/cxx/basic_ostream>
28
29namespace L4 {
30
34 extern BasicOStream cout;
35
39 extern BasicOStream cerr;
40
41 extern void iostream_init();
42
43 static void __attribute__((used, constructor)) __iostream_init()
44 { iostream_init(); }
45};
Basic IO stream.
L4 low-level kernel interface.
Definition io_regblock.h:19
BasicOStream cout
Standard output stream.
BasicOStream cerr
Standard error stream.