NAME
mginit - initialize MEGAPIC display-list with new top picture maximum
SYNOPSIS
#include <mpict_p.h>
PICT mginit(dsize)
int dsize;
DESCRIPTION
mginit
sets the maximum number of top pictures that may be displayed at one
time to
dsize.
The default maximum is 30 top pictures.
mginit
may be called either before the first call to
vad
or after all pictures have been erased from the current display.
SEE ALSO
mktop(3U)
,
vad(3U).
DIAGNOSTICS
mginit
returns -1 and prints error messages for the following:
-
A
malloc
error occurs.
-
Errors occur while allocating and writing display-list memory.