GET ITEM TYPE FROM METAFILE(3P) — SUNPHIGS LIBRARY
NAME
GET ITEM TYPE FROM METAFILE − get type and length of current item from metafile
SYNOPSIS
C Syntax
void
pgettypemf ( ws, type, length )
Pintws;workstation identifier
Pint∗type;OUT item type
Pint∗length;OUT item data record length
FORTRAN Syntax
SUBROUTINE pgtitm ( WKID, TYPE, IDRL )
INTEGERWKID workstation identifier
INTEGERTYPE OUT item type
INTEGERIDRL OUT item data record length
(to be received from PRDITM)
Required PHIGS Operating States
(PHOP, WSOP, ∗, ∗)
DESCRIPTION
Note: This function has C and FORTRAN bindings but its functionality has not yet been implemented.
ERRORS
003Ignoring function, function requires state (PHOP, WSOP, ∗, ∗)
054Ignoring function, the specified workstation is not open
058Ignoring function, specified workstation is not of category MI
302Ignoring function, no item is left in metafile input
303Ignoring function, metafile item is invalid
Sun Release 4.0 — Last change: 1 August 1989