Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gdb6 / gdb / win32-termcap.c
blobc57b10a481aff6cd42b21fecde3b720b55f30b84
1 /* Win32 termcap emulation.
3 Copyright (C) 2005, 2006 Free Software Foundation, Inc.
5 Contributed by CodeSourcery, LLC.
7 This file is part of GDB.
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.
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.
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. */
24 #include <stdlib.h>
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. */
30 int
31 tgetent (char *buffer, char *termtype)
33 return -1;
36 int
37 tgetnum (char *name)
39 return -1;
42 int
43 tgetflag (char *name)
45 return -1;
48 char *
49 tgetstr (char *name, char **area)
51 return NULL;
54 int
55 tputs (char *string, int nlines, int (*outfun) ())
57 while (*string)
58 outfun (*string++);
60 return 0;
63 char *
64 tgoto (const char *cap, int col, int row)
66 return NULL;