Merge pull request #50 from linuxuser27/win64_warnings
[debian/pforth] / csrc / pf_io_none.c
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
25 int  sdTerminalOut( char c )
26 {
27     TOUCH(c);
28     return 0;
29 }
30 int  sdTerminalEcho( char c )
31 {
32     TOUCH(c);
33     return 0;
34 }
35 int  sdTerminalIn( void )
36 {
37     return -1;
38 }
39 int  sdTerminalFlush( void )
40 {
41     return -1;
42 }
43 void sdTerminalInit( void )
44 {
45 }
46 void sdTerminalTerm( void )
47 {
48 }
49 #endif