From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- 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