]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/windows-termcap.c
* configure.ac: On MinGW, do not require a termcap library, and
[thirdparty/binutils-gdb.git] / gdb / windows-termcap.c
CommitLineData
7ef34f2c
MM
1/* Win32 termcap emulation.
2
3 Copyright 2005 Free Software Foundation, Inc.
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
30int
31tgetent (char *buffer, char *termtype)
32{
33 return -1;
34}
35
36int
37tgetnum (char *name)
38{
39 return -1;
40}
41
42int
43tgetflag (char *name)
44{
45 return -1;
46}
47
48char *
49tgetstr (char *name, char **area)
50{
51 return NULL;
52}
53
54int
55tputs (char *string, int nlines, int (*outfun) ())
56{
57 while (*string)
58 outfun (*string++);
59}
60
61char *
62tgoto (const char *cap, int col, int row)
63{
64 return NULL;
65}