summaryrefslogtreecommitdiff
path: root/xc/unsupported/doc/PHIGS/man3/p044
blob: 1e3483201a7e8e969eed9f7635ebb750169256a5 (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
113
114
.\"
.\" $XConsortium: p044,v 5.3 94/04/17 20:54:45 hersh 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.
.ds f \s-2ESCAPE -1\s+2
.ds e \s-2ESCAPE\s+2
.ds s \s-2PEX-SI\s+2
.ds pr \s-2PACK DATA RECORD\s+2
.ds ur \s-2UNPACK DATA RECORD\s+2
.ds eh \s-2ERROR HANDLING\s+2
.TH "ESCAPE -1" 3P "29 February 1991"
.SH NAME
ESCAPE -1 \- enforce synchronized error reporting
.IX "Errors" "ESCAPE -1"
.IX "Error Synchronization" "ESCAPE -1"
.SH SYNOPSIS
.SS C Syntax
.ft B
.ta 1.25i 3i
.nf
void
pescape ( func_id, in, store, out )
Pint	func_id;	\fIescape function identifier\fP
Pescape_in_data	*in;	\fIinput data for the function\fP
Pstore	store;	\fInot used. \fP
Pescape_out_data	**out;	\fIOUT not used \fP
.fi
.ft R
.SS Required PHIGS Operating States
(PHOP, *, *, *)
.SH DESCRIPTION
.SS Purpose
\*f
enables or disables the enforced synchronization of error reporting.
.SS C Input Parameters
.IP \fIfunc_id\fP
The function identifier for this escape is \s-2PUESC_ERRSYNC\s+2,
defined in phigs.h to be -1.
.IP \fIin\fP
A pointer to a Pescape_in_data union, which contains the escape_in_u1 member
used by this escape function.
This member is defined in phigs.h as:
.sp .4
.ta .5i +\w'Perrsync     'u
.nf
struct {
.sp .2
	Perrsync	sync_on;
.sp .2
} escape_in_u1;
.fi
.RS
.IP \fIsync_on\fP
One of the following enumerated values:
.RS
.nf
.ta .25i +\w'-21 'u +\w'PERRSYNC_OFF     'u
.sp
	0	PERRSYNC_OFF	\fIAsynchronous Error Reporting\fP
	1	PERRSYNC_ON	\fISynchronous Error Reporting\fP
.sp
.fi
.RE
.RE
.IP \fIstore\fP
Not used.
.SS C Output Parameters
.IP \fIout\fP
There is no output data record for this escape.
.SS Execution
Errors detected by a \s-2PHIGS\s+2 function may not necessarily be
reported before that function returns to the application.
When this is the case, it is done to enhance performance.
When error reporting is delayed, all errors detected will eventually be
reported, but during a subsequent call to a PHIGS function.
When reported, each error will be correctly associated with the function
number of the function that detected the error.
.LP
Some applications may need to ensure that errors are reported
immediately. This can be indicated by \*f.
If the specified error synchronization mode is \s-2ON\s+2,
all errors detected by a \s-2PHIGS\s+2 function will be reported before
that function returns to the application.
If the error synchronization mode is \s-2OFF\s+2 (the default), errors
detected by a \s-2PHIGS\s+2 function will be reported either before that
function returns or
during a subsequent \s-2PHIGS\s+2 function call.
.SH SEE ALSO
.nf
.IP
.ta 0.5i
.SM "ERROR HANDLING (3P)"
.fi