*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / windows-termcap.c
1 /* Win32 termcap emulation.
2
3 Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010
4 Free Software Foundation, Inc.
5
6 Contributed by CodeSourcery, LLC.
7
8 This file is part of GDB.
9
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 3 of the License, or
13 (at your option) any later version.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program. If not, see <http://www.gnu.org/licenses/>. */
22
23 #include <stdlib.h>
24
25 /* Each of the files below is a minimal implementation of the standard
26 termcap function with the same name, suitable for use in a Windows
27 console window. */
28
29 int
30 tgetent (char *buffer, char *termtype)
31 {
32 return -1;
33 }
34
35 int
36 tgetnum (char *name)
37 {
38 return -1;
39 }
40
41 int
42 tgetflag (char *name)
43 {
44 return -1;
45 }
46
47 char *
48 tgetstr (char *name, char **area)
49 {
50 return NULL;
51 }
52
53 int
54 tputs (char *string, int nlines, int (*outfun) ())
55 {
56 while (*string)
57 outfun (*string++);
58
59 return 0;
60 }
61
62 char *
63 tgoto (const char *cap, int col, int row)
64 {
65 return NULL;
66 }
This page took 0.033535 seconds and 4 git commands to generate.