.\" .\" $XConsortium: p050,v 5.3 94/04/17 20:54:50 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. .\" "@(#)escape_-7.3 1.15 90/02/24 Copyr 1988 Sun Micro" .ds f \s-2ESCAPE -7\s+2 .ds e \s-2ESCAPE\s+2 .ds s Sun\s-2PHIGS\s+2 .TH "ESCAPE -7" 3P "29 February 1991" .SH NAME ESCAPE -7 \- synchronize with a workstation .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, *, WSOP *) .SH DESCRIPTION .SS Purpose \*f synchronizes with a workstation. This function calls XSync() on all connections \s-2PHIGS\s+2 is using to communicate with the server associated with the specified workstation. This has the effect of flushing X connections and waiting for requests sent to the workstation to be processed. .SS C Input Parameters .IP \fIfunc_id\fP The function identifier for this escape is \s-2PUESC_WS_SYNCH\s+2, which is defined in phigs.h to be -7. .IP \fIin\fP A pointer to a Pescape_in_data union, which contains the escape_in_u7 member used by this escape function. This member is defined in phigs.h as: .nf .ta .5i +.75i +1i .sp .4 struct { .sp .2 Pint ws_id; /* workstation id */ .sp .2 } escape_in_u7; /* workstation synch */ .fi .RS .IP \fIws_id\fP Indicates the workstation to synchronize with. .RE .IP \fIstore\fP This parameter is not used in this escape function. .SS C Output Parameters .IP \fIout\fP This parameter is not used by this escape. .SH ERRORS .IP 003 Ignoring function, function requires state (PHOP, WSOP, *, *) .IP 054 Ignoring function, the specified workstation is not open .SH SEE ALSO .nf .SS C Output Parameters .IP \fIout\fP This parameter is not used by this escape. .SH ERRORS .IP 003 Ignoring function, function requires state (PHOP, WSOP, *, *) .IP 054 Ignoring function, the specified workstation is not open .SH SEE ALSO .nf .IP .ta 0.5i .SM "ESCAPE (3P)" .fi