summaryrefslogtreecommitdiff
path: root/src/arch/posix/driver/stdout.cc
blob: 981b51017c6301000d290ce96148d5c4ef8866fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright 2020 Birte Kristina Friesel
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */
#include "driver/stdout.h"
#include <stdio.h>

void StandardOutput::put(char c)
{
	fputc(c, stdout);
}

void StandardOutput::flush()
{
	fflush(stdout);
}

StandardOutput kout;