pempty_struct(3g) — Subroutines
Name
pempty_struct − Deletes all elements from a structure.
Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function
Syntax
void pempty_struct (
Pint struct_id /∗ (I) Structure identifier ∗/
)
Description
pempty_struct deletes all elements from the specified structure. It does not affect references to the resultant empty structure.
If the specified structure is the open structure, the contents of the structure are removed, and the element pointer is set to 0. If the specified structure does not exist, an empty structure is created.
See Also
pdel_elem
pdel_elem_range
pdel_elems_labels
pdel_struct