1 /* Terminal interface definitions for GDB, the GNU Debugger.
2 Copyright (C) 1986, 1989, 1991 Free Software Foundation, Inc.
4 This file is part of GDB.
6 GDB is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 1, or (at your option)
11 GDB is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GDB; see the file COPYING. If not, write to
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
21 /* Define a common set of macros -- BSD based -- and redefine whatever
22 the system offers to make it look like that. */
29 #define TIOCGETP TCGETA
31 #define TIOCSETN TCSETA
33 #define TIOCSETP TCSETAF
34 #define TERMINAL struct termio
45 #include <sys/ioctl.h>
46 #define TERMINAL struct sgttyb
48 #endif /* no termio */
50 extern void new_tty ();
This page took 0.029762 seconds and 4 git commands to generate.