Add support for vs2017 and update .gitignore to ignore vs cruft
[pforth] / csrc / pf_io_none.c
CommitLineData
8e9db35f
PB
1/* $Id$ */
2/***************************************************************
3** I/O subsystem for PForth when NO CHARACTER I/O is supported.
4**
5** Author: Phil Burk
6** Copyright 1994 3DO, Phil Burk, Larry Polansky, David Rosenboom
7**
8** The pForth software code is dedicated to the public domain,
9** and any third party may reproduce, distribute and modify
10** the pForth software code or any derivative works thereof
11** without any compensation or license. The pForth software
12** code is provided on an "as is" basis without any warranty
13** of any kind, including, without limitation, the implied
14** warranties of merchantability and fitness for a particular
15** purpose and their equivalents under the laws of any jurisdiction.
16**
17****************************************************************
18** 941004 PLB Extracted IO calls from pforth_main.c
19***************************************************************/
20
21#include "pf_all.h"
22
23
24#ifdef PF_NO_CHARIO
25int sdTerminalOut( char c )
26{
27 TOUCH(c);
28 return 0;
29}
30int sdTerminalEcho( char c )
31{
32 TOUCH(c);
33 return 0;
34}
35int sdTerminalIn( void )
36{
37 return -1;
38}
39int sdTerminalFlush( void )
40{
41 return -1;
42}
43void sdTerminalInit( void )
44{
45}
46void sdTerminalTerm( void )
47{
48}
49#endif