pinq_phigs_facs(3g) — Subroutines
Name
pinq_phigs_facs − Returns information about open workstations, open archive files, name sets, and character sets.
Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function
Syntax
void pinq_phigs_facs (
Pint num_elem, /∗ (I) Number of elements in the application
list ∗/
Pint start, /∗ (I) Starting position within the Digital
PHIGS list ∗/
Pint ∗error_ind, /∗ (O) Error indicator ∗/
Pint ∗max_open_ws, /∗ (O) Maximum number of simultaneously open
workstations ∗/
Pint ∗max_open_ar, /∗ (O) Maximum number of simultaneously open
archive files ∗/
Pint ∗num_avail, /∗ (O) Number of available names for name
sets ∗/
Pint_list ∗char_sets, /∗ (O) List of character sets ∗/
Pint ∗act_num, /∗ (O) Number of elements in the Digital
PHIGS list of character sets ∗/
Pint ∗iss_norm_max, /∗ (O) Maximum length of the normal filter
list ∗/
Pint ∗iss_inv_max /∗ (O) Maximum length of the inverted
filter list ∗/
)
Data Structures
typedef struct {
Pint num_ints; /∗ number of Pints in the list ∗/
Pint ∗ints; /∗ list of integers ∗/
} Pint_list;
Description
pinq_phigs_facs queries the PHIGS description table and returns the maximum number of simultaneously open workstations, the maximum number of simultaneously open archive files, the number of available names for name sets, and the list of available character sets.
The application must provide the space used by the list. The application passes the address of the list, an array of integers, in the ints field of the char_sets argument, and passes the size in the num_elem argument. Digital PHIGS returns the number of elements written to the list in the num_ints field of the char_sets argument.
See Also
padd_names_set
pincr_spa_search
pincr_spa_search3
popen_ar_file
popen_ws