blob: d82c70904059c4870311699909b26f1ce74b6a80 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
|