summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-05-10 20:28:38 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-05-10 20:28:38 +0000
commit5877d45c66fb8d2374193037cd8b64c23134b23d (patch)
tree02e2ed570a178c43fe35179b1b9ad0c2dea768bf /hurd
parentb494f8422de12b80ca60a111a76e53b37d689863 (diff)
Initial revision
Diffstat (limited to 'hurd')
-rw-r--r--hurd/tioctl.defs39
1 files changed, 39 insertions, 0 deletions
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 <ioctls.h>. */
+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);
+
+