summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/unix/posix/console/console-io.c
blob: a2f7e814e067132813540c90f76e51d78cffa3f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 *  UNIX BSP Debug IO
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.com/license/LICENSE.
 *
 * $Id$
 */

/*
 *  To support printk
 */

#include <rtems/bspIo.h>
#include <stdio.h>

void POSIX_BSP_output_char(char c) { fputc( c, stderr ); }

BSP_output_char_function_type           BSP_output_char = POSIX_BSP_output_char;
BSP_polling_getchar_function_type       BSP_poll_char = NULL;