summaryrefslogtreecommitdiff
path: root/xc/unsupported/doc/PHIGS/man3/p143
blob: 93c8355240359e8b3b6be2fc0d50fe145062fdda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
.\"##
.\" $XConsortium: p143,v 5.1 91/02/16 09:39:24 rws Exp $
.\"##
.\"## 
$XMCOPY
.\"## Copyright (c) 1990, 1991 by Sun Microsystems, Inc. 
.\"## 
.\"##                         All Rights Reserved
.\"## 
.\"## Permission to use, copy, modify, and distribute this software and its 
.\"## documentation for any purpose and without fee is hereby granted, 
.\"## provided that the above copyright notice appear in all copies and that
.\"## both that copyright notice and this permission notice appear in 
.\"## supporting documentation, and that the name of Sun Microsystems,
.\"## not be used in advertising or publicity 
.\"## pertaining to distribution of the software without specific, written 
.\"## prior permission.  
.\"## 
.\"## SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 
.\"## INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
.\"## EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
.\"## CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
.\"## USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
.\"## OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\"## PERFORMANCE OF THIS SOFTWARE.
.TH "INQUIRE INPUT QUEUE OVERFLOW" 3P "29 February 1991"
.SH NAME
INQUIRE INPUT QUEUE OVERFLOW \- inquire the \fIinput queue overflow\fP
state of the \s-2PHIGS\s+2 error state list
.SH SYNOPSIS
.SS C Syntax
.ft B
.ta 1.25i 3i
.nf
void
pinq_in_overf ( error_ind, ws, class, dev )
Pint	*error_ind;	\fI\s-2OUT\s+2 error indicator\fP
Pint	*ws;	\fI\s-2OUT\s+2 workstation identifier\fP
Pin_class	*class;	\fI\s-2OUT\s+2 input class\fP
Pint	*dev;	\fI\s-2OUT\s+2 input device number\fP
.fi
.ft R
.SS Required PHIGS Operating States
(PHOP, WSOP, *, *)
.SH DESCRIPTION
.SS Purpose
Use \s-2INQUIRE INPUT QUEUE OVERFLOW\s+2 to retrieve the
\fIinput queue overflow\fP information from the \s-2PHIGS\s+2 error state list.
.SS C Output Parameters
.IP \fIerror_ind\fP
A pointer to the location to store the error number of any error detected
by this function.
.IP \fIws\fP
A pointer to a Pint in which to store the workstation
identifier of the workstation associated with the input device that
caused the overflow.
.IP \fIclass\fP
A pointer to a Pin_class structure in which to store the class of the
input device that caused the overflow.
.IP
\fIPin_class\fP is an enumerated type that may assume the following values:
.ta .5i
.sp .2
.nf
	PIN_NONE
	PIN_LOC
	PIN_STROKE
	PIN_VAL
	PIN_CHOICE
	PIN_PICK
	PIN_STRING
.fi
.IP \fIdev\fP
A pointer to a Pint in which to store the number of the input device
that overflowed the input queue.
.SS Execution
When the input queue overflows, the identification of one of the logical
input devices that caused the overflow is placed in the error state list.
This information remains in the error state list until:
.sp .2
.ta .5i
.nf
	\(bu  The workstation associated with the input device is closed
	\(bu  \s-2PHIGS\s+2 is closed
	\(bu  This function is called
.fi
.sp .2
Calling this function clears the input queue overflow information in the
error state list.
If the input queue has not overflowed since this function or
\s-2OPEN PHIGS\s+2 was last called the appropriate error will be returned
in \fIerror indicator\fP.
.LP
When the input queue overflows, no more events can be added to it until
\s-2AWAIT EVENT\s+2 is called with the queue empty, i.e.,
all events must be removed from the queue,
and \s-2AWAIT EVENT\s+2 called \fBwhile the queue is empty\fP
before any new events can be added.
.SH ERRORS
.IP 003
Ignoring function, function requires state \s-2(PHOP, WSOP, *, *)\s+2
.IP 257
Ignoring function, input queue has not overflowed
.IP 258
Warning, input queue has overflowed, but associated workstation has been closed
.SH SEE ALSO
.nf
.IP
.ta 0.5i
.SM "AWAIT EVENT (3P)"
.SM "FLUSH DEVICE EVENTS (3P)"
.fi