source: rtems/cpukit/libcsupport/src/rtems_putc.c @ bd5a1386

4.115
Last change on this file since bd5a1386 was bd5a1386, checked in by Sebastian Huber <sebastian.huber@…>, on 08/13/12 at 09:29:13

libcsupport: Add and use rtems_putc()

This reduces code size and provides a function similar to fputc().

  • Property mode set to 100644
File size: 473 bytes
Line 
1/*
2 * Copyright (c) 2012 embedded brains GmbH.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Obere Lagerstr. 30
6 *  82178 Puchheim
7 *  Germany
8 *  <rtems@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.com/license/LICENSE.
13 */
14
15#if HAVE_CONFIG_H
16  #include "config.h"
17#endif
18
19#include <rtems/bspIo.h>
20
21void rtems_putc(char c)
22{
23  (*BSP_output_char)(c);
24}
Note: See TracBrowser for help on using the repository browser.