summaryrefslogtreecommitdiff
path: root/hurd/tioctl.defs
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/tioctl.defs')
-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);
+
+