From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- sys/tty/ttycaps.x | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sys/tty/ttycaps.x (limited to 'sys/tty/ttycaps.x') diff --git a/sys/tty/ttycaps.x b/sys/tty/ttycaps.x new file mode 100644 index 00000000..e6fcbcf0 --- /dev/null +++ b/sys/tty/ttycaps.x @@ -0,0 +1,13 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include "tty.h" + +# TTYCAPS -- Return a pointer to the caplist field of an open TTY descriptor. + +pointer procedure ttycaps (tty) + +pointer tty # tty descriptor + +begin + return (P2C (tty + T_OFFCAP)) +end -- cgit