[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference

Close Workstation (PHOP,*,*,*)

Purpose

Use Close Workstation to close the specified workstation. The workstation updates automatically before closing.

This subroutine function releases the workstation state list and deletes the workstation's identifier from the set of opened workstations in the graPHIGS API state list. Additionally, it flushes the input queue of all events from all input devices on that workstation, and releases the connection to the workstation. If no workstation remains open, the workstation state is set to Workstation Closed (WSCL).

Close Workstation clears the workstation. For workstations that keep a local copy of the structure store, the graPHIGS API frees the structure storage at this time.

Language Bindings

C

pclose_ws (ws_id);

Input Parameters
Pint ws_id
Workstation identifier.

FORTRAN

pcwlk (wkid)

Input Parameters

integer wkid
Workstation identifier.

Errors

3
FUNCTION REQUIRES STATE (PHOP,WSOP,*,*)
54
SPECIFIED WORKSTATION IS NOT OPEN
256
WARNING, INPUT QUEUE HAS OVERFLOWED

Related Subroutines

  • Open Workstation.

  • Inquire Set of Open Workstations.


  • [ Previous | Next | Contents | Glossary | Home | Search ]