GINO Graphics Suite - GINO v9.0  

gEnqSegWorkspace

Syntax

[C/C++:]
void gEnqSegWorkspace(int *nw, int *nfree);
[F90:]
subroutine gEnqSegWorkspace(nw, nfree)
integer, intent(out) :: nw,nfree

Arguments

nw
Number of real words set aside for storing Software Display File

= 0, Software Display File not defined in memory
>0, Size of display file

nfree
Number of free words of memory in the Software Display File

Description

The routine gEnqSegWorkspace() returns the number of real words that have been allocated for use by the Software Display File and the amount of free space in that memory. The space is allocated by the routine gDefineSegWorkspace().

gEnqSegWorkspace() will return a value of zero if gDefineSegWorkspace() has not been called, but the Software Display File may still be active in file mode.

See Also

gEnqSegWorkspace Usage
gDefineSegWorkspace