summaryrefslogtreecommitdiff
path: root/xc/unsupported/doc/PHIGS/man3/p061
blob: 4e389fea39cce83723118bdaec5f06435915d4fc (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
.\"
.\" $XConsortium: p061,v 5.1 91/02/16 09:37:47 rws Exp $
.\"
.\" 
$XMCOPY
.\" Copyright (c) 1990, 1991 by Sun Microsystems, Inc. and the X Consortium.
.\" 
.\"                         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 names of Sun Microsystems,
.\" and the X Consortium 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 "FLUSH DEVICE EVENTS" 3P "29 February 1991"
.SH NAME
FLUSH DEVICE EVENTS \- remove all entries generated by a specified input
device from the input event queue
.IX "Event Input Mode" "FLUSH DEVICE EVENTS"
.IX "Input Modes" "FLUSH DEVICE EVENTS"
.SH SYNOPSIS
.SS C Syntax
.ft B
.ta 1.25i 3i
.nf
void
pflush_events ( ws, class, dev )
Pint	ws;	 \fIworkstation identifier\fP 
Pin_class	class;	 \fIdevice class\fP 
Pint	dev;	 \fIlogical input device number\fP 
.fi
.ft R
.SS Required PHIGS Operating States
(PHOP, WSOP, *, *)
.SH DESCRIPTION
.SS Purpose
Use \s-2FLUSH DEVICE EVENTS\s+2 to remove all the events in the input
queue that were generated by a specified input device.
.SS C Input Parameters
.IP \fIws\fP
The workstation identifier of the workstation associated with the input device.
.IP \fIclass\fP
The input class of the input device.
Pin_class is an enumerated type defined in phigs.h that may take the
following values:
.ta .5i +1i
.sp .5
.nf
	\(bu  PIN_NONE
	\(bu  PIN_LOC
	\(bu  PIN_STROKE
	\(bu  PIN_VAL
	\(bu  PIN_CHOICE
	\(bu  PIN_PICK
	\(bu  PIN_STRING
.fi
.IP \fIdev\fP
The device number of the input device.
.SH ERRORS
.IP 003
Ignoring function, function requires state (\s-2PHOP, WSOP, *, *\s+2)
.IP 054
Ignoring function, the specified workstation is not open
.IP 061
Ignoring function, specified workstation is neither of category \s-2INPUT\s+2
nor of category \s-2OUTIN\s+2
.IP 250
Ignoring function, the specified device is not available
on the specified workstation
.IP 256
Warning, the input queue has overflowed
.SH SEE ALSO
.nf
.IP
.ta 0.5i
.SM "AWAIT EVENT (3P)"
.fi