]>
Commit | Line | Data |
---|---|---|
7ef34f2c MM |
1 | /* Win32 termcap emulation. |
2 | ||
6aba47ca | 3 | Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc. |
7ef34f2c MM |
4 | |
5 | Contributed by CodeSourcery, LLC. | |
6 | ||
7 | This file is part of GDB. | |
8 | ||
9 | This program is free software; you can redistribute it and/or modify | |
10 | it under the terms of the GNU General Public License as published by | |
11 | the Free Software Foundation; either version 2 of the License, or | |
12 | (at your option) any later version. | |
13 | ||
14 | This program is distributed in the hope that it will be useful, | |
15 | but WITHOUT ANY WARRANTY; without eve nthe implied warranty of | |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | GNU General Public License for more details. | |
18 | ||
19 | You should have received a copy of the GNU General Public License | |
20 | along with this program; if not, write to the Free Software | |
21 | Foundation, Inc., 51 Franklin St., Fifth Floor, Boston, MA | |
22 | 02110-1301, USA. */ | |
23 | ||
24 | #include <stdlib.h> | |
25 | ||
26 | /* Each of the files below is a minimal implementation of the standard | |
27 | termcap function with the same name, suitable for use in a Windows | |
28 | console window. */ | |
29 | ||
30 | int | |
31 | tgetent (char *buffer, char *termtype) | |
32 | { | |
33 | return -1; | |
34 | } | |
35 | ||
36 | int | |
37 | tgetnum (char *name) | |
38 | { | |
39 | return -1; | |
40 | } | |
41 | ||
42 | int | |
43 | tgetflag (char *name) | |
44 | { | |
45 | return -1; | |
46 | } | |
47 | ||
48 | char * | |
49 | tgetstr (char *name, char **area) | |
50 | { | |
51 | return NULL; | |
52 | } | |
53 | ||
54 | int | |
55 | tputs (char *string, int nlines, int (*outfun) ()) | |
56 | { | |
57 | while (*string) | |
58 | outfun (*string++); | |
1e0600be DJ |
59 | |
60 | return 0; | |
7ef34f2c MM |
61 | } |
62 | ||
63 | char * | |
64 | tgoto (const char *cap, int col, int row) | |
65 | { | |
66 | return NULL; | |
67 | } |