Sun Microsystems 800-1256-04 — Sun Microsystems 800-1256-04 SunCGI Reference Manual PDF (EN)

Chapter 5 - Input 99 ENOTVSAC [4] CGI not in proper state: CGI shall be in state VSAC. EINDNOEX [80] Input device does not exisl Inquire LID State Cerror inquire_lid_state(devclass, devnwn, valid, state) Cdevoff devclass; /* device type*/ Cint devnwn; /* device number*/ Clogical *valid; /* device supported at all*/ Clidstate *state; /* table of descriptors*/ inquire lid state reports the status of a specific input device specified by devclass and devm. The argument valid reports whether the device is sup- ported at all. The stale argument (of type Clidstate) reports the current state of the specified input device.

typedef enwn { RELEASE, NO_EVENTS, REQUEST_EVENT, RESPOND_EVENT, QUEUE_EVENT Clidstate; Errors 0 Inquire Trigger State ENOTVSAC [4] CGI not in proper state: CGI shall be in state VSAC. EINDNOEX [80] Input device does not exisl Cerror inquire_trigger_state(trigger, valid, list) Cint trigger; /* trigger number*/ Clogical *valid; /* trigger state*/ Ctrigstate *list; /* trigger description table*/ inquire_trigger_state describes the binding between a trigger and an input device. If the state element of the returned argument list is INACJ1VE, no associations have been made with the trigger.

An error is generated if the trigger does not exisl typedef struct { Cactstate state; /*state*/ Cassoclid *assoc; /* list of associations*/ Ctrigstate; Errors ENOTVSAC [4] CGI not in proper state: CGI shall be in state VSAC. EINTRNEX [86] Trigger does not exisl Inquire Event Queue State Cerror inquire_event_queue_state(qstat, qflow) Cqtype * qstat; /* queue state*/ Ceqflow * qflow; /* overflow indicator*/ 0 inquire_event_queue_state reports the starus of the event queue. qstat indicates whether any events are pending. The argument qf/aw reports if the event queue is overflowing. Vcrsio.1 C of 17 March 1986