READ ITEM FROM METAFILE(3P) — SUNPHIGS LIBRARY
NAME
READ ITEM FROM METAFILE − read current item from metafile
SYNOPSIS
C Syntax
void
preadmf ( ws, max_length, record )
Pintws;workstation identifier
Pintmax_length;max item data record length
Pitemrec∗record;OUT item data record
FORTRAN Syntax
SUBROUTINE prditm ( WKID, MIDRL, MLDR, DATREC )
INTEGERWKIDworkstation identifier
INTEGERMIDRLmaximum item data record length
(number of characters in the data record array)
INTEGERMLDRdimension of item data record
CHARACTER∗80DATREC(MLDR) OUT data record
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
306Ignoring function, maximum item data record length is invalid
302Ignoring function, no item is left in metafile input
303Ignoring function, metafile item is invalid
SEE ALSO
OPEN WORKSTATION (3P)
GET ITEM TYPE FROM METAFILE (3P)
INTERPRET ITEM (3P)
Sun Release 4.0 — Last change: 1 August 1989