From 5877d45c66fb8d2374193037cd8b64c23134b23d Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 10 May 1994 20:28:38 +0000 Subject: Initial revision --- hurd/tioctl.defs | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 hurd/tioctl.defs (limited to 'hurd') diff --git a/hurd/tioctl.defs b/hurd/tioctl.defs new file mode 100644 index 00000000..740637a0 --- /dev/null +++ b/hurd/tioctl.defs @@ -0,0 +1,39 @@ +/* Definitions for terminal ioctls + Copyright (C) 1991, 1993, 1994 Free Software Foundation + +This file is part of the GNU Hurd. + +The GNU Hurd is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +The GNU Hurd is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with the GNU Hurd; see the file COPYING. If not, write to +the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + + +/* This subsystem is derived from calculations in . */ +subsystem tioctl NNN; + +type modes_t int[4]; +type ccs_t char[20]; +type speeds_t int[2]; +routine tioctl_tiocseta ( + port: io_t; + modes: modes_t; + ccs: ccs_t; + speeds: speeds_t); + +routine tioctl_tiocgeta ( + port: io_t; + out modes: modes_t; + out ccs: ccs_t; + out speeds: speeds_t); + + -- cgit v1.2.3