RTEMS
cpukit
libcsupport
src
rtems_putc.c
Go to the documentation of this file.
1
8
/*
9
* Copyright (c) 2012, 2017 embedded brains GmbH. All rights reserved.
10
*
11
* embedded brains GmbH
12
* Obere Lagerstr. 30
13
* 82178 Puchheim
14
* Germany
15
* <rtems@embedded-brains.de>
16
*
17
* The license and distribution terms for this file may be
18
* found in the file LICENSE in this distribution or at
19
* http://www.rtems.org/license/LICENSE.
20
*/
21
22
#ifdef HAVE_CONFIG_H
23
#include "config.h"
24
#endif
25
26
#include <
rtems/bspIo.h
>
27
28
void
rtems_putc
(
char
c)
29
{
30
if
(c ==
'\n'
) {
31
(*BSP_output_char)(
'\r'
);
32
}
33
34
(*BSP_output_char)(c);
35
}
rtems_putc
void rtems_putc(char c)
Kernel Put Character.
Definition:
rtems_putc.c:28
bspIo.h
Interface to Kernel Print Methods.
Generated by
1.8.14