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/ggets.x | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 sys/gio/ggets.x (limited to 'sys/gio/ggets.x') diff --git a/sys/gio/ggets.x b/sys/gio/ggets.x new file mode 100644 index 00000000..d82c7090 --- /dev/null +++ b/sys/gio/ggets.x @@ -0,0 +1,22 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include + +# GGETS -- Get the string value of a device parameter from the graphcap entry +# for the device. The null string is returned if no entry is found for the +# named capability, or if the capability exists but the value field is null. +# The value of any parameter may be returned as a string, regardless of its +# datatype. Escape sequences are converted to control codes in the output +# string. + +int procedure ggets (gp, cap, outstr, maxch) + +pointer gp # graphics descriptor +char cap[ARB] # name of device capability +char outstr[ARB] # output string +int maxch +int ttygets() + +begin + return (ttygets (GP_TTY(gp), cap, outstr, maxch)) +end -- cgit