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/gio/ggeti.x | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sys/gio/ggeti.x (limited to 'sys/gio/ggeti.x') diff --git a/sys/gio/ggeti.x b/sys/gio/ggeti.x new file mode 100644 index 00000000..31f81bb2 --- /dev/null +++ b/sys/gio/ggeti.x @@ -0,0 +1,17 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include + +# GGETI -- Get the integer value of an device parameter from the graphcap +# entry for the device. Zero is returned if the device does not have the +# named parameter. + +int procedure ggeti (gp, cap) + +pointer gp # graphics descriptor +char cap[ARB] # name of device capability +int ttygeti() + +begin + return (ttygeti (GP_TTY(gp), cap)) +end -- cgit