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

INQUIRE SET OF WORKSTATIONS TO WHICH POSTED (PHOP,*,*,*)

Purpose

Use Inquire Set of Workstations to Which Posted to inquire the list of workstations to which the specified structure is posted.

This subroutine returns the number of workstations and the workstation identifiers to which the specified structure is posted.

If the information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameters. If the information is unavailable, then the values returned in the output parameters are unpredictable and the graPHIGS API sets the error indicator to one of the following errors:

2
Function Requires State (PHOP,*,*,*)
201
Specified Structure Does Not Exist

Language Bindings

C

pinq_wss_posted (struct_id, num_elems_appl_list, start_ind, err_ind, ws, num_elems_impl_list)

Input Parameters

Pint struct_id
Structure identifier.

Pint num_elems_appl_list
Number of elements in the application list (>=0).

Pint start_ind
Starting index (>=0).

Output Parameters

Pint *err_ind
Error indicator.

Pint_list *ws
List of workstations to which the structure is posted.

Pint *num_elems_impl_list
Number of elements in the implementation list.

FORTRAN

PQWKPO (strid, n, errind, ol, wkid)

Input Parameters

integer strid
Structure identifier.

integer n
Set member requested (>=0).

Output Parameters

integer errind
Error indicator.

integer ol
Number of workstations to which the structure is posted.

integer wkid
nth member in the set of workstations to which the structure is posted.

Errors

None

Related Subroutines

  • None


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