diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /sys/gio/ggets.x | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'sys/gio/ggets.x')
-rw-r--r-- | sys/gio/ggets.x | 22 |
1 files changed, 22 insertions, 0 deletions
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 <gio.h> + +# 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 |